11 Replies - 1079 Views - Last Post: 16 December 2010 - 04:57 PM Rate Topic: -----

#1 aydinz  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 46
  • Joined: 11-March 09

CodeIgniter

Posted 13 December 2010 - 05:09 AM

i would like to know if it will be easier and appropriate to use CodeIgniter to make a php website with a mySQL database who here uses CodeIgniter or any MVC?

because then i will have to learn how to use codeigniter and will take more time to understand it i have a brief understand of it, will it just be easier to do it without an MVC where will be the advantages of using it??


thanks
Is This A Good Question/Topic? 1
  • +

Replies To: CodeIgniter

#2 CTphpnwb  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 3100
  • View blog
  • Posts: 10,889
  • Joined: 08-August 08

Re: CodeIgniter

Posted 13 December 2010 - 11:02 AM

The advantage is that it will tend to keep you using MVC. If you don't know it, there will be a learning curve. That curve will be steeper if you don't know MVC.

Of course if you don't know at least some of the principles of MVC then building your site will be more difficult anyway you code it!
Was This Post Helpful? 1
  • +
  • -

#3 JaKWaC  Icon User is offline

  • D.I.C Head

Reputation: 76
  • View blog
  • Posts: 234
  • Joined: 15-November 10

Re: CodeIgniter

Posted 13 December 2010 - 02:48 PM

I find that CodeIgniter is EXTREMELY easy to use and learn. However, the current video tutorials on the main page are WAY out of date. You'll just have to read the user guide, which is well written and covers basically everything.
Was This Post Helpful? 1
  • +
  • -

#4 aydinz  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 46
  • Joined: 11-March 09

Re: CodeIgniter

Posted 14 December 2010 - 03:07 AM

do you guys reckon that codeigniter can be used to make any sort of website?
Was This Post Helpful? 0
  • +
  • -

#5 CTphpnwb  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 3100
  • View blog
  • Posts: 10,889
  • Joined: 08-August 08

Re: CodeIgniter

Posted 14 December 2010 - 06:38 AM

Yes, it can.
Was This Post Helpful? 0
  • +
  • -

#6 JaKWaC  Icon User is offline

  • D.I.C Head

Reputation: 76
  • View blog
  • Posts: 234
  • Joined: 15-November 10

Re: CodeIgniter

Posted 14 December 2010 - 11:39 AM

Have you ever heard of Expression Engine? EllisLabs is the created of both, and with their new role out of Expression Engine 2.0 they are using CodeIgniter for development. Also EllisLabs new product MojoMotor is also built with CodeIgniter.
Was This Post Helpful? 1
  • +
  • -

#7 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1199
  • View blog
  • Posts: 7,309
  • Joined: 07-September 06

Re: CodeIgniter

Posted 14 December 2010 - 12:13 PM

I have only used on MVC (kohana php), but I have to say that I haven't been much of a fan so far. I mean the concept is nice and all, and I understand the point of view from which they are coming, but I like to have more say about how things work. Kohana requires that you use a ton of their built-in classes to make even a single page load correctly - I don't like that.

Now, on the other hand the MVC that I have been building requires more coding decisions to be made per page, however everything is layed out in a way that I find very easy to get along with (maybe it is just because I'm making it).

<additional, unnecessary infrmation>

The way I like my things layed out is as such:
Main Directory
- index.php
- .htaccess
- misc_functions.php
- Actions (d)
-- // here is where the pages actual pages are located (Controllers)
- Classes (d)
-- // classes which are used across many pages (Models)
- Modules (d)
-- Enabled (d)
--- // enabled modules go here
-- Disabled (d)
--- // disabled modules go here
- Styles (d)
-- // the standard .css and images needed for the site skin
- Templates (d)
-- // this is template bits used for each page (Views)

Now, at the moment I have set things up slightly differently than the standard MVC in that you don't have to jump through hoops to load additional views. In fact they are all loaded at once (this could be problematic if the views got large).
Was This Post Helpful? 2
  • +
  • -

#8 shezzy  Icon User is offline

  • D.I.C Head

Reputation: 28
  • View blog
  • Posts: 194
  • Joined: 28-January 07

Re: CodeIgniter

Posted 14 December 2010 - 12:16 PM

Codeigniter is awesome if you use PHP. MVC will take some effort to learn but once you do it will simplify and clean up your code dramatically. Honestly, for me it makes writing websites FUN because you can focus on what you want the site to do rather so much how your going to make it do it. The documentation is great and I also suggest hitting nettuts for great video tutorials on alot of its functionality. Codeigniter takes out the repetetive tasks of plain php and i think its a great tool to start learning frameworks/mvc. I've been considering making video tutorials for DIC based on the apps i've already made. Havn't noticed huge crowd of CI users here but maybe I will when I get time off
Was This Post Helpful? 1
  • +
  • -

#9 shezzy  Icon User is offline

  • D.I.C Head

Reputation: 28
  • View blog
  • Posts: 194
  • Joined: 28-January 07

Re: CodeIgniter

Posted 14 December 2010 - 12:24 PM

When i decided to learn a php framework I stayed away from kohana and cakephp because i read it had a lot of conventions and that CI was alot more flexible. Look into CI, its much more enjoyable.
Was This Post Helpful? 0
  • +
  • -

#10 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1199
  • View blog
  • Posts: 7,309
  • Joined: 07-September 06

Re: CodeIgniter

Posted 14 December 2010 - 01:35 PM

Sadly I have to use kohana for a current work-related project, and I got no choice in the matter. Luckily though I am coming to the end of the project and will hopefully not have to use it afterwards for anything.
Was This Post Helpful? 0
  • +
  • -

#11 JaKWaC  Icon User is offline

  • D.I.C Head

Reputation: 76
  • View blog
  • Posts: 234
  • Joined: 15-November 10

Re: CodeIgniter

Posted 16 December 2010 - 04:42 PM

Fun Fact: Kohana is a fork of CodeIgniter.
Was This Post Helpful? 0
  • +
  • -

#12 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1877
  • View blog
  • Posts: 20,284
  • Joined: 17-March 01

Re: CodeIgniter

Posted 16 December 2010 - 04:57 PM

Some great replies in this thread, don't forget to up-vote helpful posts guys!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1