Inside this folder, create directories for "css", "images", and "js". Create a directory in your project folder named assets. Or you can start with a clean set of CodeIgniter files from the initial download, which you can get from here.įor this project, we will need images, jQuery, and Bootstrap. The recommended name is n413_litlist.Ĭopy all the files from the Welcome project into your project folder. As always, set up a directory in the htdocs folder to hold your project. These steps are needed for each new project, but once you get some experience, they become quite simple to do. This is a lot to do, but it's mostly paying dues to get in the club. Set up a Model for the database queries. ![]() Set up a new Controller for the project.Edit "routes.php" to set up the "landing page" for the project.Edit "database.php" to configure the database connection.Edit "autoload.php" to load the database library.Edit "config.php" to set up the "base_url".Copy the CodeIgniter files and put them in a new project folder.This project has several steps that introduce you to CodeIgniter concepts and details: If you want to download completed versions of the PHP scripts for this project, you can find them here. You can open a completed version of the project in your browser here. When I started showing the first set of AMP JAMS to friends and colleagues, the feedback I got was "Where are the GUITARS?" Lit LIST will show you the steps you need to draw a list of data items from a database table.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |