HomePHP Polishing the Visual Presentation of a Blogger with the Code Igniter PHP Framework
Polishing the Visual Presentation of a Blogger with the Code Igniter PHP Framework
This series of articles is aimed at demonstrating how to build a blog application with the Code Igniter PHP framework, which relies on the functionality offered by the MVC approach to create full-featured PHP programs. Thus, if youíre interested in learning how to build a program like this, then start reading this tutorial now! It is the fifth part of the six-part series.
Code Igniter is a robust PHP framework written in PHP 4 that permits you to build object-based web applications in a truly painless way with the Model-View-Controller pattern. By means of this approach, itís possible to separate the application logic of a web-based program from its visual presentation, which contributes to developing applications that are much more maintainable and modular.
Of course, all of these benefits sound pretty good in theory, but undoubtedly the best way to take advantage of them is by developing a real-world web application that implements the MVC pattern in an approachable fashion.
Youíll certainly recall that in the previous tutorial, I finished creating the bare bones structure of this MySQL-driven blog application. In that article, I explained how to develop a simple front-end that allowed users to post their comments on different blog entries.
With this recent addition, the blogger is capable of displaying a bunch of blog entries previously stored on a MySQL table. Additionally, the application provides users with a basic web form in which to enter comments to each blog post. Users expect this behavior from any blog application.
Although in its current state, the blogger works well, its visual presentation looks pretty primitive. Therefore, in this fifth part of the series Iíll be adding some CSS styles to the view files that comprise this blog application to improve its look and feel.
Ready to learn how this will be done with Code Igniter? Then click on the link below and start reading!