Programming with CodeIgniter MVC

Codeigniter (aka CI) is an MVC framework that helps you building websites. You don’t know what is MVC? Bad. It’s…

Novembre 15, 2013

Codeigniter (aka CI) is an MVC framework that helps you building websites. You don’t know what is MVC? Bad. It’s a way of writing code that try to split software in three pieces: Models, which is the part that deals with your site entities, and held the classes that describes your site domain. Views, which held the presentation layer and output html/css/js data to the browser client. Controller, the layer that uses models, held the business logic of your site and calls views to send responses to users.
I don’t like a lot MVC, but I understand the power of frameworks and I think that every developer that works on big projects should use a framework, because you can gain time just by not developing database layer, or helper functions or plugins or modules that someone already made better than you. As read on this book by Eli Orr and Yahuda Zadik, now I know that Codeigniter is a mature framework that has everything you need to held big projects like, for example, a community, and this book can help you to understand CI naming conventions, configurations and folders and lets you begin making code knowing what are you doing. There is a lot of code in the book (some could be really useful to interact with third parties services like Google Maps and Linkedin or Flickr), and you can download everything from the author site. Published by Packt, it costs $34.99.

Author

PHP expert. Wordpress plugin and theme developer. Father, Maker, Arduino and ESP8266 enthusiast.

Recommended

The Quantcast CMP broke my sites

A javascript error in CMP blocks my site.

Maggio 19, 2023

WP Gutenberg notes

Collection of notes and thoughts on Wordpress Gutenberg blocks development.

Gennaio 9, 2023

Optimizing LCP, Largest Contentful Paint result

Notes about Core Web Vitals optimization challenge

Gennaio 4, 2023

Find values recursively inside complex json objects in PHP

A PHP function to to quickly search complex, nested php structures for specific values.

Dicembre 18, 2022

Scroll to DIV by ID without jQuery

Use scrollIntoView instead of jQuery animate.

Dicembre 16, 2022