Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying CodeIgniter Web Application Blueprints
  • Table Of Contents Toc
CodeIgniter Web Application Blueprints

CodeIgniter Web Application Blueprints

By : Robert Foster
3.8 (6)
close
close
CodeIgniter Web Application Blueprints

CodeIgniter Web Application Blueprints

3.8 (6)
By: Robert Foster

Overview of this book

If you are a PHP programmer or developer looking for a framework to quickly develop your applications, this book is for you. The prerequisites needed would be prior experience with CodeIgniter.
Table of Contents (11 chapters)
close
close
10
Index

Putting it all together


Okay, here are a few examples that will help put everything together.

User adds a task

The sequence of events in order to add a task is as follows:

  1. The user visits the site and CodeIgniter routes them to the tasks controller.

  2. The tasks controller loads (by default) the index() function. The index() function checks whether the form validation is false:

    if ($this->form_validation->run() == FALSE) {
    ...
  3. As this is the first load and the form has not been submitted, it will equal false. The index() function then defines the settings for the task_desc text field, calls the get_tasks() function of Tasks_model (which returns all tasks from the database), and then loads the view files, passing the database object to the views/tasks/view.php file.

  4. The user enters the Chase meeting room booking string, selects a date three days into the future, and clicks on Add to submit the form.

  5. The form is submitted and index() validates the task_desc form elements and the three date dropdowns...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
CodeIgniter Web Application Blueprints
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon