Home > CodeIgniter, PHP > CodeIgniter Tutorial: [Creating Accounting Application] Part 1 Setting Up the Environment

CodeIgniter Tutorial: [Creating Accounting Application] Part 1 Setting Up the Environment

This tutorial series explain how to develop a web based application using CodeIgniter, the PHP application framework. As you might already know, CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications.

In this tutorial, we took the case of developing a basic web based accounting application that can input cash book and bank book data transaction and journal entry.

The tutorial series will cover:

  • Part 1 Setting Up the Environment: XAMPP (apache, mysql, and PHP) and CodeIgniter
  • Part 2 The application specification, analysis and design using UML use case and class diagram using free UML diagram tool StarUML.. (download here if you have not install it in your computer) . We also need to install StarUML PHP 5 Code Generator Template to automatically generate the class files from class diagram created
  • Part 3 ER Diagram and Creating Database using MySQL workbench, formerly fabForce ERD tools for MySQL
  • Part 4, preparing to code in CodeIgniter, exporting class diagram to PHP scripts
  • Part 5 Coding, the Mainpage
  • Part 6 Coding, the and COA Module explain the application coding using CodeIgniter
  • Part 8 Coding, the Cashbook Module explain the application coding using CodeIgniter
  • Part 7 Coding, the Bankbook Module explain the application coding using CodeIgniter
  • Part 8 Coding, the Journal Module explain the application coding using CodeIgniter
  • Part 9 Coding, the Reporting Module explain the application coding using CodeIgniter
  • Part 10 Conslusion and Further Development: AJAX, Facebook Application

1 Part 1 Setting Up The Environment

Installing XAMPP

Click here for detailed instruction on how to install XAMPP. Make sure that you can access the web server installed in XAMPP by entering the URL http://localhost. If you did, a page will appear showing that the XAMPP was installed successfully. Try clicking on the phpinfo() link to make sure that PHP installation was also successful. Try also the CD Collection Demos to make sure that MySQL installed correctly. If something was not right, go back to the installation article and make sure that the server configuration was correct.

XAMPP Successfully installed

Installing CodeIgniter

Installing CodeIgniter Framework is simply easy. After you downloaded the last version package from CodeIgniter website, extract the package file to your XAMPP document root, defaulted in c:\xampp\htdocs. It’s better that you rename the folder CodeIgniter_1.7.1 to reflect our application name, for example: acct.

After extracting the file and renaming the folder to acct, your folder structure will look like this:

CodeIgniter framework copied into DocumentRoot

You could test the CodeIgniter framework now to make sure that it’s already up. Enter the URL http://localhost/acct at your browser, then you should see something like this:

CodeIgniter framework successfully installed on XAMPP

Congratulation! You have done the first step of creating our web based Accounting Application. You could now continue to the next step about the application specification we are going to develop, and the design and analysis using UML diagram.

But, before continuing to the next step, I suggest you to check out the CodeIgniter User Manual which is already located on your server at http://<yourserver>/acct/user_guide.

Reblog this post [with Zemanta]

  • Share/Bookmark
  1. August 5th, 2009 at 08:21 | #1

    Bro kelanjutannya ditunggu..
    :)

  2. August 5th, 2009 at 08:31 | #2

    yup… insya Allah minggu depan bagian ke-3 nya.. thanks

  3. August 5th, 2009 at 14:05 | #3

    link part 2 nya mana Bro ?

  4. November 17th, 2009 at 03:41 | #5

    Nice Post man! There is apparently a lot to know about this.

  5. June 26th, 2010 at 10:58 | #6

    iya nubi, mau belajar CI

  6. lawrence
    October 27th, 2010 at 07:02 | #7

    great tutorial! how can i contribute a bit amount of box for the author

  7. Rahul
    November 13th, 2010 at 20:22 | #8

    Are there only 5 parts in this tutorial??
    This is excellent work and its too bad I am not able to see all of it!!

  8. manish
    January 25th, 2011 at 17:54 | #9

    its cool!!

  9. March 24th, 2011 at 16:40 | #10

    Nice tutorial, thanks very much.. :)

  1. October 16th, 2009 at 17:03 | #1
  2. November 3rd, 2009 at 12:29 | #2
  3. December 28th, 2009 at 13:07 | #3
  4. June 7th, 2010 at 22:55 | #4
  5. June 20th, 2010 at 21:19 | #5
  6. July 10th, 2010 at 21:08 | #6
  7. November 22nd, 2010 at 03:53 | #7
  8. November 22nd, 2010 at 04:07 | #8
  9. November 24th, 2010 at 21:14 | #9
  10. May 26th, 2011 at 00:56 | #10
  11. June 20th, 2011 at 17:06 | #11
  12. June 20th, 2011 at 21:11 | #12
  13. June 27th, 2011 at 01:32 | #13
  14. September 13th, 2011 at 11:16 | #14
  15. October 3rd, 2011 at 09:20 | #15
  16. October 12th, 2011 at 02:07 | #16
This site uses a Hackadelic PlugIn, Hackadelic SEO Table Of Contents 1.6.0.