patterns will be a great step even if you choose not to use CakePHP.
It will make the extendibility, maintenance and debugging a world
easier. If you decide to add a new feature down the road having good
code will save your sanity.
With that said if you are interested in using CakePHP you should do
some reading on the MVC design pattern. The Model-View-Controller
design pattern will enhance your code further.
In brief it works like this;
The User manipulates the Controller,
The controller manipulates the model
And the view is shown to the user based on the current state of the
model.
CakePHP makes all this much easier by enforcing convention over
configuration. This means you should only put each piece in specified
folders and they will all know where to find each other and how to
work it out.
The best way to jump in is to use Scaffolding. Although it is not
reccomended for any production site, it will build a mockup using just
your database design. (forms, pages, links, etc) it is incredibly
smart.
So I really recommend you find a simple tutorial on a blog, or todo
list using CakePHP, and compare that to your past experience of
Procedural programming.
I think you will quickly realize the benefits for yourself.
Hope that helps, best of luck!
-Eddie
On Aug 28, 11:56 pm, ct2k7 <04nunhu...@gmail.com> wrote:
> First of all, I apologise if this is the incorrect forum to post my
> query in.
>
> I am currently writing an application, for an intranet/extranet
> solution.
>
> The PHP is currently in procedural, and I'd like to know if, and how,
> I'd benefit if I moved the application onto the CakePHP framework.
>
> Since I have very limited OOP knowledge, I'd be a bit slow.
>
> Best regards,
> ct2k7
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment