CakePHP is a free, open-source, speedy improvement framework for PHP.
It’s a foundational structure for programmers to create net applications. Our number one aim is to permit you to paint in a structured and speedy manner–with a lot of flexibility.
CakePHP takes the monotony out of internet development. We offer you all of the gear you want to get began out coding what you really want to get done: the good judgment unique for your application. Instead of reinventing the wheel on every occasion, you take a seat downright all the way down to a brand-new project, take a look at out a replica of CakePHP, and get began out with the actual guts of your application.
CakePHP has a lively developer group and community, bringing tremendous fee to the project. In addition to maintaining you from wheel-reinventing, the usage of the CakePHP method in your application’s center is nicely examined and is being continuously improved.
Here’s a brief listing of functions you’ll experience whilst the usage of CakePHP:
- Active, friendly community
- Flexible licensing
- Compatible with versions 4 and 5 of PHP
- Integrated CRUD for database interaction
- Application scaffolding
- Code generation
- MVC architecture
- Request dispatcher with clean, custom URLs and routes
- Built-in validation
- Fast and flexible templating (PHP syntax, with helpers)
- View Helpers for AJAX, JavaScript, HTML Forms, and more
- Email, Cookie, Security, Session, and Request Handling Components
- Flexible ACL
- Data Sanitization
- Flexible Caching
- Localization
- Works from any website directory, with little to no Apache configuration involved
Core Utility Libraries
CakePHP consists of general-motive software libraries which may be known everywhere for your application, along with Set and HTTP Socket.
- App
- Inflector
- String
- Xml
- Set
- Security
- Cache
- HttpSocket
1.App
The app is a totally small application library. It simplest includes the import method. But, with the import method, you may accomplish a lot.
Example:-
App::Import('Core','File'); App::Import('Model','Post'); App::import('Vendor', 'geshi'); App::import('Vendor', 'flickr/flickr'); App::import('Vendor', 'SomeName', array('file' => 'some.name.php')); App::import('Vendor', 'WellNamed', array('file' => 'services'.DS.'well.named.php'));
Core Behaviors
Behaviors upload more capability on your models. CakePHP comes with some integrated behaviors which include Tree and Containable.
- ACL
- Containable
- Translate
- Tree
Core Helpers
Helpers are the component-like training for the presentation layer of your application. They incorporate presentational good judgment which is shared among many views, elements, or layouts.
This section describes each of the helpers that come with CakePHP such as Form, Html, JavaScript, and RSS.
Read Helpers to learn more about helpers and how you can build your own helpers.
- AJAX
- Cache
- Form
- HTML
- Javascript
- Number
- Paginator
- RSS
- Session
- Text
- Time
- XML