Must have wordpress cheat sheet
Posted using ShareThis
Must have wordpress cheat sheet
Posted using ShareThis
I’ve used 4 IDEs for php based web application development. In my old laptop, I used notepad++ to write php, html, javascript, css code. notepad++ is a very light weight IDE and takes less resources.
**notepad++ IDE is best if your laptop/pc’s configuaration is old.
Today I released another educational application for facebook. This is also my personal application based on Zend Framework. This is clone of my another facebook application GRE Dictionary & Vocabulary Builder
Here is the link of my application:
Features of this application: Read the rest of this entry »
For some days I was busy to develop a personal educational facebook application. Today I finally released that. This is currently in beta version. This application serves as a GRE dictionary and vocabulary builder tools. I’m inviting you to add this application and give me feedback whatever you think about this app.
Here is the link http://apps.facebook.com/ftechdb-gre/
The technology I used to develop this app.
As a professional web application developer, we’ve to develop application faster with maintaining the quality, security and performance. Once upon a time, when people develop web application without further planning about structure and maintenance. Now the situation is quite different. Today’s web application are very complex. Now it’s very important to structure the application. Now I’m describing about a case study:
Case 1: Suppose you’re a team leader. Your company tell you to develop a facebook application with some requirements. You’ve a good team to develop this app. Now what will you do?
Solution: You may use a framework and guide your team to fulfill the company’s requirement to develop your application like this.
So, you maintain a good structure and develop a good application.
Case 2: After some days, your company tell you to develop another application that has the same functionality with this application only view and some minor features are changed.
Solution: You and your team copy APP 1‘s source code, modify that, maintain the core and change the view. So You develop another application APP 2 that has it’s own core.
Case 3: Your company assign you to develop another 4 application like this.
Solution: You and your team develop those application like the same process. Now You’ve five applications like APP 1, APP 2, APP 3, APP 4, APP 5.
Case 4: After 2/3 months someone found some bugs in your APP 1 and notify you. Then what will you do?
Solution: You fixed the bugs for APP 1, and recursively apply the same process with other apps APP 2, APP 3 …..
Case 5: Suddenly facebook company announce to change their core library and deprecated some functions and updated some new APIs. Now what will you do?
Solution: You’ll identify the problems, replaced the core library for APP 1, integrated the new APIs by replacing the old APIs. And you recursively apply the same process with your other apps APP 2, APP 3 ….
So, I think now you realize the matter why I’m describing this situation. This type of situation sometimes happen in software firm. But If your team leader and senior developers plan and design before developing application, this type of recurrence situation might not happen.
For team leader and senior developers:
Now, for Case 1 at the first time the best solution might be like this.
Solution: You consult with your company about the requirements and future of the new app. If your company tell you that in near future, you have to develop similar app, then you have to make another structure like this.
That’s to say, you defined the core library, helper functions, common functionalists and moved in a common directory. Then when any new and similar app need to develop, you just use the core or inherit the base. By this way, you solved several common problems.
So we all should remember, “Design your web application before developing“.
Today I’m going to give a presentation about Zend Framework in Trippert Labs, Inc (Bangladeshi Branch). Here I shares my slides with my blog readers:
Download PDF of Basic application development using Zend Framework
Once upon a time, we develop web application using raw level php code. But when the application expand it becomes unmanageable. Now it is a trend to develop web application using a framework. And I found Zend Framework is one of the best framework among all.
Here I given a short tutorial composed by myself to develop web application using Zend framework.
Download PDF of Basic application development using Zend Framework
There are many frameworks for developing web applications using PHP. CodeIgniter, CakePHP, Symphony and more.. I’ve not much experience in all the frameworks. I’ve a good experience in using CodeIgniter and some small MVC frameworks.
Recently, I noticed Zend Framework is a nice framework to develop web application. Zend finally give special notice to develop a very good framework. And I hope very soon, Zend Framework will lead among all. I found this framework is very essential and powerful. After seeing the features, code-conventions and documentation I give 9 out of 10 grade to this framework.
What is Zend Framework?
Documentation:
Documentation is really rich. Its not take much time to grasp a basic concept of this framework to develop application. Because there is quick start, api documentation, component based documentation. Overall I rate 10 out of 10 grade in documentation.
Goals of Zend Framework Components:
Zend_Acl provides lightweight and flexible access control list (ACL) functionality and privileges management.
Zend_Auth provides an API for authentication and includes concrete authentication adapters for common use case scenarios, as well as “Identity 2.0″ adapters such as OpenID and Microsoft InfoCard.
Zend_Cache provides a flexible approach toward caching data, including support for tagging, manipulating, iterating, and removing subsets.
Zend_Config simplifies the use of configuration data for web applications.
These components provide the infrastructure for a Model-View-Controller (MVC) website.
Zend_Date offers a detailed but simple API for manipulating dates and times.
This is a lightweight database access layer, providing an interface to PDO and other database extensions in PHP. It includes adapters for each database driver, a query profiler, and an API to construct most SELECT statements.
The Zend_Db_Table component is a lightweight solution for object-oriented programming with databases.
This component provides a very simple way to work with live syndicated feeds.
These components encourage the development of secure websites by providing the basic tools necessary for input filtering and validation.
This is a configurable solution for declaring and enforcing filtering and validation rules. This component serves as a “cage” for input data, so they are available to your application only after being validated.
This component provides an object-oriented interface for building forms, complete with input filtering and rendering capabilities.
The Google Data APIs provide read/write access to such services hosted at google.com as Spreadsheets, Calendar, Blogger, and CodeSearch.
This component provides a client for the HTTP protocol, without requiring any PHP extensions. It drives our web services components.
Easily convert PHP structures into JSON and vice-versa for use in AJAX-enabled applications.
Easily provide sitewide layouts for your MVC applications.
Load files, classes, and resources dynamically in your PHP application.
Zend_Locale is the Framework’s answer to the question, “How can the same application be used around the whole world?” This component is the foundation of Zend_Date, Zend_Translate, and others.
Log data to the console, flat files, or a database. Its no-frills, simple, procedural API reduces the hassle of logging to one line of code and is perfect for cron jobs and error logs.
Almost every Internet application needs to send email. Zend_Mail, assisted by Zend_Mime, creates email messages and sends them.
Using Zend_Measure, you can convert measurements into different units of the same type. They can be added, subtracted, and compared against each other.
Zend_Memory offers an API for managing data in a limited memory mode. A PHP developer can create a Zend_Memory object to store and access large amounts of data, which would exceed the memory usage limits imposed by some PHP environments.
Portable Document Format (PDF) from Adobe is the de facto standard for cross-platform rich documents. Now, PHP applications can create or read PDF documents on the fly, without the need to call utilities from the shell, depend on PHP extensions, or pay licensing fees. Zend_Pdf can even modify existing PDF documents.
The registry is a container for storing objects and values in the application space. By storing an object or value in the registry, the same object or value is always available throughout your application for the lifetime of the request. This mechanism is often an acceptable alternative to using global variables.
REST Web Services use service-specific XML formats. These ad-hoc standards mean that the manner for accessing a REST web service is different for each service. REST web services typically use URL parameters (GET data) or path information for requesting data and POST data for sending data.
The Apache Lucene engine is a powerful, feature-rich Java search engine that is flexible about document storage and supports many complex query types. Zend_Search_Lucene is a port of this engine written entirely in PHP 5.
Web services are important to the PHP developer creating the next generation of mashups and composite applications. The Zend Framework provides wrappers for service APIs from major providers to make it as simple as possible to use those web services from your PHP application.
Zend_Session helps manage and preserve session data across multiple page requests by the same client.
The Zend_Translate component provides the Zend Framework with message translation functionality.
Zend_Uri is a component that aids in manipulating and validating Uniform Resource Identifiers (URIs). Zend_Uri exists primarily to service other components such as Zend_Http_Client but is also useful as a standalone utility.
Zend_XmlRpc makes it easy to communicate with and create XML-RPC services from PHP.