Solved

How does CodeIgniter work

Posted on 2014-03-07
3
460 Views
Last Modified: 2014-03-07
Hello,

I have been working at employing CI to help me write better PHP/HTML/JavaScript applications but there is something that is eluding me and I haven't yet got a handle on.

MVC appears to be about modules of an application, that need to be assembled into the final application.

Is this the case?

If it is how are the modules chained into an application? I thought I had found it with redirect but redeploying in what appeared to be same circumstances gave me errors.

So do I have a global controller that I work progressively through or is there some way I can call a controller and in what conditions and in which m, v, or c. do I code my application

thank you


John Collins
0
Comment
Question by:johnecollins
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39913014
The answer to this question is probably the third semester of a bachelor's degree in computer science, so I'm not going to be able to really give you a thorough answer, just as I could not give a thorough answer if you asked, "How do I build a car?"  But I can point you to some learning resources that appear to be worthwhile.
http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
http://en.wikipedia.org/wiki/Observer_pattern
http://en.wikipedia.org/wiki/Three-tier_architecture#Three-tier_architecture

As you read over those articles, think about how you might organize the work of several programmers working on a web application at the same time.
0
 

Author Closing Comment

by:johnecollins
ID: 39913339
Ray,

Thanks a lot I have looking for a long time and was not getting anywhere but I was consuming a lot of time in cul-de-sacs so thank you very much.

Everything I have read about CodeIgniter says how easy it is and how quickly you can be writing the world.

This hasn't been my experience but I still needed to get to grips with an application I have to write,

So thank you very much for this help off I go and get on with the job

Thanks

John
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 39913386
Thanks for the points, John.  MVC architectures are one of those things like object-oriented programming and design - it just takes a while to get your head around the concepts (at least it did for me) but once the lightbulb goes on, you say, "How did I ever do without this?"
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question