Enter your contact information.
Enter your project information.
Step 3Choose the PHP programmers you want to hire.
Compare Free PHP Quotes
Why You Should Be Using a PHP Framework
*Attention PHP Programmers* - Add A Free Listing! Get more clients.
All frameworks discussed in this post are full stack web frameworks coded in PHP such as Code Igniter, Symfony, Kohana, Yii and CakePHP. Some (but definitely not all) of the points below may apply to micro frameworks such as FatFreeFramework, Limonade, Glue and Slim.
When should I use a framework?
Frameworks should be used when constructing web applications. Any application that involves a database, forms, sessions, cookies or a remote service (such as Twitter or Facebook) will benefit from being powered by a framework. There is no need to use a framework for a website that has only one or two pages, nor for command line utility scripts.
What features do frameworks provide?
- Database abstraction. Frameworks can abstract away SQL-vendor specific features. This allows you to change your SQL database without needing to rewrite any code. For example, switch from MySQL to Postgres or MSSQL. Some frameworks can also handle database relations automatically, which saves you having to write JOIN queries.
- Cache abstraction. Rather than using backend specific caching functions (such as apc_add and apc_fetch), you use a generic caching class which has support for multiple backends such as Memcache, APC and XCache.
- Form management. Symfony2 and CakePHP allow the developer to define forms as PHP code. The framework then handles all HTML widget generation, form validation and CSRF security automatically.
- Authentication. Most frameworks come with a generic user authentication module. They handle logging in and logging out, registration, session management and permissions. They are typically very easy to modify and add your own custom fields.
- Easy Debugging and Profiling. Kohana3 and Symfony2 come with debug toolbars. These allow you to inspect global variables, database queries, logs and load times in the current request.
- Internationalization. Built in translation frameworks let you easily create country specific versions of your website.
What benefits do I get from using a framework?
- Portability. Database and cache abstraction allows your application to be used on many different server setups. If your application is open source, more people will be able to install it.
- Shorter development time. Because your not writing the same boilerplate user authentication, database and form code, development time is shortened dramatically.
- Application security – Security features such as authentication and permissions are handled for you by the framework. Database inputs are automatically sanitised and most frameworks have cross site request forgery (CSRF) protection built in.
- Community supported – Frameworks have forums, mailing lists and IRC channels supporting them. If you encounter a problem with the framework, chances are someone else has and a fix has already been made.
- Plugins and modules. Members of the community release plugins and modules which you can download and use in your application. These would be things such as integration with 3rd party APIs (Facebook, Twitter) and features such as template engine integration.
- Enforces good coding standard. Most frameworks force you to follow the Model, View, Controller principle. This makes you (the developer) think about how your code will be structured before you write it, making it of higher quality.
- Future proof your application. Frameworks are well documented and tested. If another developer was brought in on the project, or you sold your project, the new developer would just need to read up on the framework documentation and then would understand the code. If a framework wasn’t being used then time and money would need to be put into training the new developer.
What framework should I use?
Everyone has their own opinion on which is the “best” framework. I recommend you have a look at all frameworks linked below, they each have different styles of structuring the application. If you have experience with Ruby On Rails then you may want to look at CakePHP and Trax. They both have ActiveRecord implementations and model themselves after Rails. QPHP will seem familiar for those with ASP.NET experience and Symfony2 will make people who know Java feel at home (Symfony2 overview). Also be sure to check out Kohana, Code Igniter, Yii and Akelos before making your decision.
Source http://query7.com/?p=1437Mon, 11 Apr 2011 08:34:09 GMT
Tags: php, Web Development,
*Attention PHP Programmers* - Add A Free Listing! Get more clients.
php
Using Proxies with cURL in PHP
If you are new to using PHP and cURL please refer to the PHP cURL tutorial. It covers why you should using cURL (as opposed to file_get_contents) and goes over how to make cURL requests with a custom class.
Developing a blog with CakePHP
A Look at PHP 5.3 Frameworks – Symfony2
Ever since PHP5.3 was released we have seen several new frameworks pop up in the PHP community. In this series of articles we will look at and evaluate some of the next generation PHP frameworks. Today we look at S
Web Development
Titanium Mobile Android Development: Installation
In this series of tutorials we use Appcelerator’s Titanium Mobile platform to create Android applications. This tutorial goes over the installation and configuration of the Android SDK and Titanium Mobil
This Week in Web – PHP Namespaces, NodeTuts, Kohana
Interview with Matthew Weier O’Phinney
Kevin Schroeder, tech evangelist at Zend, recently interviewed Zend Framework lead Matthew Weier O’Phinney. The two talk about Weier O’
Professional website development and design, e-commerce solutions, specializing in the LAMP stack.
San Fernando Valley, California US
German freelance PHP programmer with 5 years of experience in PHP, MySQL, HTML, CSS, AJAX, Photoshop, PHP frameworks (CodeIgniter, Typo3, Joomla, etc.), Linux Server administration, JAVA, C# and C++.
Melbourne, Victoria AU
tattoo shop
Athens, Attica GR
Screenfly: The Easy Way to Test Responsive Web Designs
If you’ve embraced responsive web design — and we sincerely hope you have — you kn
Review: Dreamweaver and Flash Updates Deliver Mobile Dev Tools
Adobe has released updates for several of its Creative Suite applications, including Dreamweaver and
Yahoo’s YSlow Now Available for Opera
YSlow, Yahoo’s web development tool designed to help you speed up your site’s page load
Chrome 10 Beta Offers Faster JavaScript, Less CPU Usage
Google has released version 10 of its Chrome web browser to the beta release channel. Chrome 10 is a
Simplify Your CSS With the ‘any()’ Selector
HTML5 adds a slew of new semantic tags to the web developer’s toolkit. Tags like section, arti
Article Tags
PHP Programmers Articles
Live Help Chat Software
Web Design Quote
Web Design