Jump to content
Nathan

What is CakePHP

Recommended Posts

Why is this different from regular PHP? I assume it's functions that are created already then you call them so it's a lot less code to create web applications?

 

What the best resource to learn from?

Share this post


Link to post
Share on other sites

Would you use this over just plain PHP on anything?

It's a set of classes written in PHP that you would use in PHP applications. It saves you time so you don't have to write code, its already there, such as templating, authentication, DB abstraction, etc..

Share this post


Link to post
Share on other sites

Say you want to build a car, you could:

 

A.) Buy every part individually, and build it (without CakePHP)

OR

B.) You could buy a motor, frame, body, and build it with very few loose parts (with CakePHP)

 

Why is this different from regular PHP? I assume it's functions that are created already then you call them so it's a lot less code to create web applications?

 

In a nutshell, yes

Share this post


Link to post
Share on other sites

As Marc and redinit has pointed out CakePHP is a web "framework" however the Major point around CakePHP is that it is an MVC framework.

 

MVC is (Model, View, Controller) software design pattern.

 

Its worth learning, as a super primer start here:

 

http://stackoverflow.com/questions/26685/what-is-mvc-and-what-are-the-advantages-of-it

Share this post


Link to post
Share on other sites

I haven't used CakePHP specifically before, but it really makes things easier. Instead of me spending hours of the working on a database class, then this, then that, I can just get straight to work with the important classes. Plus, it gives me working code (PHP often just doesn't like me).

 

Myself, I use FuelPHP because of the docs and the enormous amount of features.

 

For smaller projects, you may want to look into Laravel. Its Blade template engine blew my mind.

Share this post


Link to post
Share on other sites

Personally I'm familiar with regular PHP, but never heard of CakePHP. After some research I realized that it is a framework for PHP. 

Long story short, CakePHP is an open-source web, rapid development framework that makes building web applications simpler.

Edited by Bravosi

Share this post


Link to post
Share on other sites

PHP is a server-side HTML embedded scripting language this is particularly utilized in web improvement. PHP is a programming language and CakePHP is a framework construct form php. CakePHP is an open source web software framework. A framework is defined pre-written objects and code.

Share this post


Link to post
Share on other sites

CakePHP is an open-source web framework. It follows the model-view-controller (MVC) approach and is written in PHP, modeled after the concepts of Ruby on Rails, and distributed under the MIT License. CakePHP uses well-known software engineering concepts and software design patterns, such as convention over configuration, model-view-controller, active record, association data mapping, and front controller.

Official Website for CakePHP:  https://cakephp.org/

 

Share this post


Link to post
Share on other sites
On 7/25/2012 at 7:06 PM, Nathan said:

Alright guys thanks for the information, so at this point looks like I'm going to rewrite what I have so far with CakePHP.

You have shared the actual link according to CakePHP. I learned from its new tactics. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...