Category Archives: zend framework

Installing Zend Server on Ubuntu 10.04

I have been having issues trying to install Zend Server on Ubuntu 10.04 following the steps here http://files.zend.com/help/Zend-Server-5-Community-Edition/zend-server.htm#deb_installation.htm
the problem was because there is a missing dependency for the “libmysqlclient15off” MySQL client library

to solve this, I had to install “libmysqlclient15off” from here (select the one that matches your architecture)

http://archive.ubuntu.com/ubuntu/pool/universe/m/mysql-dfsg-5.0/

Then install it using the command line :

dpkg -i libmysqlclient15off_5.1.30really5.0.83-0ubuntu3_i386.deb

after that running the installation for Zend server from through repositories, will work with no interruptions.

Recruitment System – One of my projects

I wanted to post this since a while.

The recruitment system is one of the applications I built for cha-international while working there beside developing the Middle East & North Africa travel awards system, mail marketing system, and converting all their servers from windows to Linux.

In brief the system has the following features :

  • Backend :
  1. Managing countries, Nationalities, Languages, World Areas, System Announcements.
  2. Managing Education Levels, Industries, Titles, Departments, System Reply Messages, Candidate Status, Candidates Classifications, and Quotes.
  3. Testimonials section where the company can post its clients testimonials to be displayed in the frontend.
  4. Managing 2 types of resumes : Uploaded Attachments, and Detailed filled forms Resumes.
  5. Easy form for the data entry team to add the resumes from the backend.
  6. Searching for candidates, using simple forms like name, email or advanced one which contains name, different nationalities, different languages, age, sex, industry, title, keyword in resume, etc.
  7. Consultants area where they can post / close job posting, search  for candidates, export word version of resumes, add to their favorite list, recommend them to another consultant.
  8. Consultants also can comment on the resumes, change their availability status to be seen by other consultants, and communicate with the candidate through the reply messages and keep track of those sent messages.
  9. The system has a approval workflow engine, the admins have to check the resume to approve it first.
  10. The system has a privileges section where the administrator can create a new role, assign access to certain areas in the backend to certain role, and assign the roles to system users.
  11. Feedback system where the backend users can communicate with the administrator for support tickets, etc.
  12. Auditrail system where every action in the system is logged.
  • Frontend:
  1. Simple upload form where users can just upload their resume and simple details.
  2. Advanced profile form where users can fill in all the details, and add many attachments to their profiles.
  3. Listing, Simple search, advanced search for jobs, and applying to them.
  4. Clients area where they can request certain services.
  5. Featured profiles, where a certain profiles selected by the admins showed in frontend.

The project was completely built from scratch using Zend Framework, and right now it has more than 70,000 applicant in its database, and the system is as fast as you see in the videos, these demos were taken with 50,000 record in the database.

Please don’t give me any feedback on the design ;), I am just a developer.

Here is some videos describing the different features of the system, I will try to post a better quality ones later.

 

Change your Signature

[youtube=http://www.youtube.com/watch?v=KXMg4q43Vf0]

 


Search Resumes

[youtube=http://www.youtube.com/watch?v=UUCuQ3XZmHg]

 


Apply as New Candidate

[youtube=http://www.youtube.com/watch?v=UNMVIahQAeU]

 


Send Feedback to support

[youtube=http://www.youtube.com/watch?v=-QiwYphCi2k]

 


Consultant Functionality walk through

[youtube=http://www.youtube.com/watch?v=wU6MDYO-xsw]

 


Check who applied for your job

[youtube=http://www.youtube.com/watch?v=X7_ZNVjksKg]

 


Apply for Posted Job

[youtube=http://www.youtube.com/watch?v=B06xlZr8A-w]

 

PHP is Now

Lots of people asks the question why php, i guess this article titles “PHP is Now” by Cal Evans is the Director of the PHP Center for Expertise at Ibuildings, will help those who asks, to know what is the powers of this great tool.

article URL: http://www.ibuildings.com/blog/archives/1554-PHP-is-NOW.html

Zend Whitepapers – PHP Leads the way

I have been browsing Zend website, and i have been going through its white papers, and it is really interesting, so i thought about sharing it with my blog visitors

Zend White Papers

An overview on PHP (PDF)

This paper gives a clear and concise overview of PHP. The paper covers many aspects of PHP, it goes through the history of PHP, the people behind PHP, the PHP market, the future of PHP, and more.

PHP Leads Web 2.0 (PDF)
This paper defines and applies Web 2.0 for today’s users. Though it is difficult to define Web 2.0 there are usually a few common denominators such as, rich web applications, SOA (service oriented architecture), and social Web elements. This paper also explains what Web 2.0 means for the Enterprise and what it means for technology today.

PHP 4 to PHP 5 Migration (PDF)
A little over three years ago, the PHP community released version 5 of its popular programming language. PHP5 has now become the version of choice for many new PHP projects. PHP4 however remains popular and is still widely used. This whitepaper is aimed at developers who are still using PHP4 and considering switching to PHP5. It is also intended to provide IT managers responsible for PHP applications additional information for their decision on whether to stick with their current version or migrate. This paper seeks to answer the questions, “What are the benefits of migrating to PHP5? And, equally importantly, what are the risks?” The information below will put you in a better position to make an informed decision between PHP4 and PHP5.

A Practical Guide to Data Caching with Zend Server
When asked about the most significant methods to speed up PHP applications, most experts would say “Cache, Cache and Cache”. There are a lot of optimizations that could be done to PHP code that would make it run faster, but the most effective method to speed up PHP execution is to simply execute less, and one of the best ways to achieve that is through caching.

Team Development with Zend Studio for Eclipse
Today’s development organizations are under ever increasing pressure to be more productive. One key factor for productivity is effective coordination across development teams. Learn how Zend Studio for Eclipse can help improve productivity and team coordination with capabilities to allow for effective use of Source Code Management, Code Refactoring, integration between development and deployment environments and more.
PHP is Not Java: Session Management White Paper (PDF)
PHP is used by developers that have a wide range of backgrounds and skill levels. When writing scalable PHP applications, it is crucial to understand the “shared nothing“ architecture of PHP. The most misunderstood component in this architecture is the session handling. PHP sessions are different from the ones used in other languages. Due to the “shared nothing“ architecture of PHP, objects cannot survive a request. Session data is therefore serialized to external storage for each request, meaning that only serializable data can be stored, not resources such as DB handles. This is a very powerful and scalable approach for session data averaging around 10-100kb, as serialized session storage can easily be spread over a cluster and serialization does not introduce a great deal of overhead.

Zend Download Server (PDF)
This paper will explain how the Apache web server works. The paper will answer key question such as: How do large file downloads affect your server’s performance? What is the difference between web page and file download serving? What do you do when your web server gets saturation? Additionally, this paper clearly defines and explains what Zend Download Server does.

Scalability and Responsiveness with Zend Platform’s Job Queue (PDF)
This paper defines Job Queue for users. The paper also details as well as explains how Job Queue is used and how it works.

Integrating PHP with System I using Web Services (PDF)
The following paper examines the ways in which PHP and Zend helps System I developers. The paper demonstrates how quick and simple it is to create a Web Service wrapper for an existing RPG program.

PHP and Oracle (PDF)
The following paper explains how to install and utilize Zend Framework to develop applications in PHP.

ZendCasts – Free Zend Framework Screencasts

A really good Zend Framework Resource that has been posted in the ZF mailing lists couple of days ago.

very usefull

URL : www.ZendCasts.com

Render Nothing in Zend Framework

This is useful if u want to have the output without rendering a view or the layout, like in ajax or developing we services

to do that you need to call the following 2 methods in your Action :

$this->_helper->viewRenderer->setNoRender(); // Disable the viewscript
$this->_helper->layout->disableLayout();  // Disable the layout

Zend Framework Free Book : Surviving The Deep End

Hey folks,
today Padriac Brady has released a new Zend Framework Book,

About the author :
http://www.survivethedeepend.com/zendframeworkbook/en/1.0/introduction#zfbook.introduction.me

To read the book :

http://www.survivethedeepend.com/zendframeworkbook/en/1.0

About the book (quoted from the book):

Zend Framework: Surviving The Deep End is written in the form of a detailed tutorial following a step by step approach to building a real life application. Topics are grouped where it makes sense and there will be continual references to earlier chapters which serves to reinforce what you’re learning as you read. The book was designed to bring together elements of the Reference Guide, the growing body of community knowledge and my own personal experience so developers can see the bigger picture of developing a real application with the Zend Framework.No comments

To my mind that’s always been the framework’s main problem since the Reference Guide adds little beyond explaining each framework component in total isolation. It doesn’t offer a development approach, ways of thinking or a list of advanced topics which combine components. You should note though that this book is not a replacement for the Zend Framework Reference Guide. It’s assumed you can do some independent reading of the Reference Guide. The Guide is free, detailed, and reasonably easy to search. This book is a complement to it, not a replacement.No comments

The book also includes the full source code of the application within the text, and may repeat it several times to highlight new changes I am making. I understand that pages of source code can sometimes be frustrating but it does enforce clarity and I value clarity a great deal. For simplicity the full finalised source code of each chapter is available as a separate internet download.No comments

I will over time refer to several external libraries, other than the Zend Framework, which you are expected to install. These will include PEAR, Blueprint CSS Framework, jQuery, HTMLPurifier and PHPUnit. I know from experience this can be unpopular with some people but I assure you that their installation will be covered in detail and is quite straightforward even for beginners. You should bear in mind a real life application will require numerous external libraries!No comments

Finally, note that this book assumes a basic working knowledge of PHP 5, SQL, and Object Oriented Programming (OOP). These are necessary skills if you intend learning the Zend Framework but will not be covered by this book in detail. Since PHP is so simple to learn though, I don’t doubt you can find countless resources online to get you started down the road towards PHP Guru status.

———————-

enjoy reading 😉

To read the book :

http://www.survivethedeepend.com/zendframeworkbook/en/1.0

Appcelerator :: Building RIA Apps and Use Cases with ease

Yesterday i was browsing Zend Framework Webinars, and i stopped by the title :

Get “Rich” Quick : Building Ajax-based RIAs with the Zend Framework and Appcelerator

i didn’t hear about the Appcelerator thing before, but the title was really interesting as i use Zend framework extensively and it is a great idea to add some interactivity and UI to my apps.

after watching the webinars, i really liked the idea of being able to build the full prototype and have it working with no server side code, and then in the development phase with some slight changes to the prototype, it becomes the working front end interacting with the server side code with no problems @ all.

i went to try.appcelerator.org and gave it a try on the fly, that got me more interested. so i downloaded the sdk installer for MAC and installed it, the installation was at ease, even creating the projects and testing.

Appcelerator supports what we call “technology driven agile development” and we call that process Interactive Use Cases.

Zend Framework, Flex & PHP – Best Practice Cautions

Hey guys,

recently me and my flex developer colleague had a weird problem while exchanging data from zend framework to flex as web services using json.

well, 1st caution :

don’t ever use a closing tag ” ?> ” in your controllers or classes, as it will result in new line in the output json data, which will make flex not able to recognize it correctly.

2nd caution :

when u echo output from php don’t leave space between the variable and the equal “=” sign and also between the equal “=” sign and the value.
to be clear :
example 1 :

This won’t work as flex will not recognize a value for the variable Json.
example 2 :

This will work because we removed the spaces.

hope u don’t fall in this trap as we did.
& enjoy 😉

Adobe to contribute AMF support to Zend Framework

Hey folks,
i have read this great news yesterday, that Adobe has made a proposal for an AMF (Action Message Format) component in Zend Framework.
what a great addition to the strong & superior framework.
this will facilitate my work a lot with my colleagues here that works with Flex, we have been developing some Air applications, and as a solution of the interaction between Flex & PHP we used web services to exchange the data in Json format between us, it works fine, but having the options of AMF will make it more powerful and smooth.
long live ZF, long live flex 😉

here is the link for the news i got :
http://andigutmans.blogspot.com/2008/07/adobe-to-contribute-amf-support-to-zend.html

and here is the link for the proposal :
http://framework.zend.com/wiki/display/ZFPROP/Zend_Amf

Enjoy 😉