Codeigniter validating dates

They both attempt to create an MVC architecture which simply means they separate the (data) Model from the Controller (which pulls data from the model to give to the view) from the View (what the user sees).They both use Routing which takes a URL and maps it to a particular function within a controller (Cake PHP calls these actions).Scaffolding is meant for simple prototyping and Code Igniter takes it a step further by requiring a keyword in the URL to even access the scaffolding.I'm guessing one could omit the keyword, leaving this feature essentially optional.

Code Igniter takes a very straightforward approach: like include files, almost. There's a templating class but it doesn't simplify things much beyond the built-in view handling.

For people just getting started, things probably look a little daunting.

Code Igniter's model handling is fairly straightfoward and basically allows you to mimic a standard SQL query with a few straightforward commands like these examples: You can also create a model object, load it in and build custom methods to handle a custom task.

Code Igniter supports regular expressions for routing, whereas you'll have to wait until Cake PHP 1.2 for that feature.

They both support Scaffolding which is an automated way of generating a view based on the model.

Search for codeigniter validating dates:

codeigniter validating dates-1codeigniter validating dates-63codeigniter validating dates-36

Cake PHP handles this fairly well by using a default layout (which you can easily switch at runtime). Each action automatically links to a particular view which gets spat into place. As long as you name your files a specific way, controllers automatically get linked to models and views.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “codeigniter validating dates”