phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


CodeIgniter - Form: File Structure

Tag: CodeIgniter, framework, MVc, file structure   Category: PHP Framework
post: 14 Feb 2008 read: 2,682


CodeIgniter Form Step By Step Tutorial - Part 2: For this practice, we need 4 main files: books.php (controller), books_display.php (model), and books_main.php, books_input.php (view). Then, there are 3 adding files: books_header.php, books_footer.php, books_menu.php, and mystyles.css (as css). Create that files and put within folders like this:
+ CodeIgniter
  - mystyles.css
  + system
    + application
      + controllers
        - books.php
      + models
        - books_model.php
      + views
        - books_footer.php
        - books_header.php
        - books_input.php
        - books_main.php
        - books_menu.php
These is elementary files. But in the middle of tutorial, we will add some files as according to discussion in that time.


Series this article:
CodeIgniter - Form: Creating Skeleton
CodeIgniter - Form: File Structure
CodeIgniter - Form: Creating Layout Code
CodeIgniter - Form: Creating Menu Library
CodeIgniter - Form: Putting Text at Header and Footer
CodeIgniter - Form: Centralizing $data
CodeIgniter - Form: Adding CSS
CodeIgniter - Form: Creating Form HTML
CodeIgniter - Form: Creating Beautiful Form Code
CodeIgniter - Form: CodeIgniter HTML Style
CodeIgniter - Form: Preparing Table at Database
CodeIgniter - Form: Creating Insert Data
CodeIgniter - Form: Creating List Data Use Table Library
CodeIgniter - Form: Creating Table List Without Table Library
CodeIgniter - Form: Using URL Helper
CodeIgniter - Form: Showing Single Data for Form Edit
CodeIgniter - Form: Something Happen With Form Parameters
CodeIgniter - Form: Updating Data
CodeIgniter - Form: Deleting Data

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
mod_rewrite - Part 1: create your "fantasy" URL

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


615
posting