Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

Tuesday, October 1, 2013

Google App Engine PHP Runtime Environment

Finally Google announced experimental release of PHP supports for Google App Engine.
Though still it is in experimental stage.

Download Google App Engine PHP SDK from this link - http://googleappengine.googlecode.com/files/GoogleAppEngine-1.8.5.msi

Then request your access at this website - https://gaeforphp.appspot.com/

Documentation link https://developers.google.com/appengine/docs/php/gettingstarted/introduction

Editor for writing code and deploying projects into appspot.com you can use JetBrain PHPStorm
Download link - http://www.jetbrains.com/phpstorm/nextversion/index.html

Thursday, January 31, 2013

Framework for PHP

Selecting a PHP framework there has some consideration  Best way is make your own framework but that is little bit time consuming and also if you do not use other frameworks then you will not know how they are developed and what you have to develop. When searching for the PHP framework consider which one is the   most suitable for your necessity  It is important to keep in mind who will be using and/or modifying your applications from top to bottom. If there are many people who will be the part of application development then it may be best use a popular PHP framework that many developers are familiar with. On the other hand, if you wish to build web applications for your own personal use, you are better off choosing any PHP framework that you’re comfortable with, whether it is popular or not. You may check following thins for select a best framework for PHP


1.       Easy of use
2.       Rapid development / CRUD / Scaffolding support
3.       MVC architecture
4.       Logging support
5.       Localization and internationalization support
6.       Theming, Skinning support
7.       ORM Support
8.       Modular development support
9.       Widget Library
10.   Built in Authorization and Authentication mechanism
11.   Performance, how many requests can handle per second, Memory and Process use at request response life cycle?
12.   Unit Testing Support
13.   Popularity amongst other developers
14.   Strong Community and support/forums
15.   Whether it is updating continuously or not?
16.   Multiple Database support for same script
17.   PHP and Database version supports
18.   Webservice support
19.   Security
20.   Run easily on most of hosting server

Most popular framework for PHP

Yii is a component-based high-performance PHP framework for developing large-scale Web applications. Yii is written in strict OOP and comes with thorough class reference and comprehensive tutorials. From MVC, DAO/ActiveRecord, widgets, caching, hierarchical RBAC, Web services, to theming, I18N and L10N, Yii provides nearly every feature needed by today’s Web 2.0 application development. And all these come without incurring much overhead. As a matter of fact, Yii is one of the most efficient PHP frameworks around.


2. CodeIgniter
CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.
CakePHP is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.

PHPDevShell is an Open Source (GNU/LGPL) Rapid Application Development framework written using only PHP with no Javascript and comes with a complete GUI admin interface. It is aimed at developing admin based applications as plugins, where speed, security, stability and flexibility are essentials. It is designed to have a very easy learning curve without complicated new terms to learn. The need for a light, fully functional GUI with limitless configuration brought forward PHPDevShell. We strive to keep direction and focus in our development according to our moto.
Yaf is the first PHP MVC framework which is written in C and build as PHP extension.It is considered as the fastest and the lowest resource consuming PHP framework for now.
It is well tested and has been applied successfully in many high traffic products inBaidu, Sina and other companies.
Symfony is a web application framework for PHP5 projects.
It aims to speed up the creation and maintenance of web applications, and to replace the repetitive coding tasks by power, control and pleasure.
The very small number of prerequisites makes symfony easy to install on any configuration; you just need Unix or Windows with a web server and PHP 5 installed. It is compatible with almost every database system. In addition, it has a very small overhead, so the benefits of the framework don’t come at the cost of an increase of hosting costs.
Using symfony is so natural and easy for people used to PHP and the design patterns of Internet applications that the learning curve is reduced to less than a day. The clean design and code readability will keep your delays short. Developers can apply agile development principles (such as DRY, KISS or the XP philosophy) and focus on applicative logic without losing time to write endless XML configuration files.
The PRADO group is a team of PRADO enthusiasts who develop and promote the PRADO framework and the related projects.

Extending the art & spirit of PHP, Zend Framework is based on simplicity, object-oriented best practices, corporate friendly licensing, and a rigorously tested agile codebase. Zend Framework is focused on building more secure, reliable, and modern Web 2.0 applications & web services, and consuming widely available APIs from leading vendors like Google, Amazon, Yahoo!, Flickr, as well as API providers and cataloguers like StrikeIron and ProgrammableWeb.

9. ZooP

The Zoop Object Oriented Php Framework (The Zoop PHP Framework for short). A framework written in and for php.
The Zoop PHP Framework is stable, scalable and portable. It has been in production use for the last 5 years and has been used in many production environments. The Zoop PHP Framework is designed to be fast, efficient and clean. It is easily extendable and you choose to include only the functionality you use.

QPHP stands for Quick PHP and is a MVC framework similar as architecture to ASP.NET.
The author of the project has spent the last 8 years working on web projects using various Java frameworks, ASP.NET and PHP. This framework tries to get the best of the above platforms as well as to avoid the problematic parts.

What is PHP Framework ?


What is a PHP Framework?

PHP is the most popular server side scripting language. This is written in C. More over PHP is just interpreter. For developing a website using PHP you need to write some basic code for every website. PHP framework provides that common code block and an application architecture rather than raw PHP coding. Save developing time make application development rapid and provide guide line to write application in a structured way so that for larger project programmers can maintain and extend easily. Framework also provides application security so that application can protect common attacks.  It separate presentation layer from business logic layer. Most of the PHP framework use MVC to do that.

Why should we use a PHP Framework?

Programmers should utilize the advantage of PHP frameworks. Number one reason is for speeding up the development process. Reusing code across similar projects will save the developer a substantial amount of time and effort. A framework offers pre built modules for coding tasks. So the programmer can spend their time on developing the actual application rather than re-building the foundation with each and every project. Stability is another big reason developers are utilizing frameworks. While simplicity is one of PHP’s greatest assets, and the reason many people prefer to use this scripting language. It’s fairly easy, especially for beginners, to write bad code and not even realize it. With PHP the application will often times still work, but unknowingly you may have opened up a large security hole in your coding that may be susceptible to attacks. It’s important to remember that PHP is a very forgiving language, so it’s even more important to make sure to tie up any loose ends in your coding – even if the application seems to be working properly. Finally, the availability of PHP frameworks is extensive, and there are many different frameworks to choose from. You can even create your own, although many developers elect to choose from any of the most well-known frameworks due to their popularity, large support teams, and their forums and communities that allow you to interact with other developers who utilize the same framework.

When to use a PHP Framework?

This is a common question amongst experienced and beginner developers alike, and there’s really no direct answer to the question. For many beginners, a framework will offer greater simplicity as well stability, so it may be a good idea to use PHP frameworks whenever possible. It will help reduce or eliminate bad coding and speed up the build process.
On the other hand, many experienced PHP programmers see frameworks as tools for “weak” programmers that don’t understand how to write good, clean code. Whether this is true or not is up for debate, but the fact of the matter is that PHP frameworks are a tool that can be used to save time and tighten up one’s coding.
When working on a project with tight deadlines, utilizing a PHP framework is a huge benefit that can greatly speed up the coding process. So if you’re in a time crunch, PHP frameworks can be very beneficial to you. Another instance when PHP frameworks should be a consideration is when you’re working on projects with substantial amounts of monotonous coding, because it will help make the job much less tedious.

What to Look for in a PHP Framework?

There’s plenty of options available to anyone who may be searching for PHP frameworks, and there’s even the option of creating your own, although that’s only recommended for PHP experts. When searching for the the PHP framework best suited for your needs, it’s important to keep in mind who will be using and/or modifying your applications from top to bottom. If there are many people who will be using the application, it may be best use a popular PHP framework that many developers are familiar with. On the other hand, if you wish to build web applications for your own personal use, you are better off choosing any PHP framework that you’re comfortable with – whether it’s popular amongst the developer community or not.
Various factors to search for in a PHP framework include: easy of use, rapid development/performance, popularity amongst other developers, strong features, and support/forums. It’s recommended to try out several PHP frameworks when you’re first starting out in order to find one that suits your needs the best. All frameworks are slightly different and have varying strengths and weaknesses, for instance Yii framework is one of the best for developing rapid web application. Also Zend Framework has been around since V3 and is full of features plus has an extensive support system in place since it has been around for so long. On the contrary, CakePHP is another PHP framework which is younger than Zend Framework and has slightly less of a support system in place (although support for this framework is growing rapidly), but is much more user-friendly and easy to use.




How to learn Yii

How to learn Yii 

Yii is a object oriented PHP framework. It is one of the best PHP framework which helps developer to develop web application very quickly. Yii helps a PHP programmer to develop web application maintaining programming standard . Most useful features of Yii framework  are MVC architecture and Scaffolding  using gii. Features of yii framework is given below

1. Model-View-Controller (MVC) design pattern
2. Form input and validation
3. Skinning and theming
4. Layered caching scheme
5. Unit and functionality testing
6. Detailed documentation
7. Database Access Objects (DAO), Query Builder, Active Record, DB Migration
8. AJAX-enabled widgets
9. Web services
10. Error handling and logging
11. Automatic code generation
12. Extension library
13. Authentication and authorization
14. Internationalization (I18N) and localization (L10N)
15. Security
16. Friendly with third-party code

Download Yii framework learning resources. Please read according to serial number.


Seperate Download Link - https://skydrive.live.com/?cid=36cbfbfdd2318326#cid=36CBFBFDD2318326&id=36CBFBFDD2318326%21117

This url contains following  files

1. php_manual_en - First Read Language Referance From Here.chm
2. yii-guide-1.1.12- Read this Guid once or twice.pdf
3. yii-blog-1.1.12- Just develop this blog using yii.pdf
4. Agile-web-application-development-with-yii-1-1-and-php5 - Read to learn more about Yii Part 1.pdf
5. Packtpub.Yii.1.1.Application.Development.Cookbook.Aug - Read to learn more about Yii Part 2.rar
6. php_enhanced_en - Enhance your php knowledge.chm
7. yii-api-1.1.12 - Use API Referance at development stage to boost your development.chm

WampServer2.1e-x32 - Install Apache MySql PHP to develop web application.exe
yii-1.1.12.b600af.tar - Yii core framework .gz

All files in one zip file download link - http://www.mediafire.com/?q654ixxiuce4rqa

Congratulation !!!. Be a professional web application developer  ....

If download links are broken then comment that.