EllisLab text mark
Advanced Search
1 of 2
1
   
expressionengine vs codeigniter
Posted: 15 August 2008 02:36 AM
Joined: 2007-12-11
34 posts

I’ve adopted CodeIgniter as the standard launch pad for all of my new projects, I made the switch about 10 months ago and haven’t looked back, it’s a great framework, period.


I can’t help but wonder though: is there any huge advantage to using expression engine over codeigniter?  I’m imagining, in a perfect world, that I would be allowed the flexibility of codeigniter, but with built in support for a CMS, it’s just a little difficult for me to imagine how all of the pieces would fit together.

So my question to the community: did any of you start with codeigniter and move on to expression engine?  What are your thoughts on that process?

My challenge to the EE dev team: sell me! Tell me everything wonderful there is to know about using EE and why I should make the switch.  I’m hoping that there is good reason to and I’ll be able to streamline development processes even more.

 Signature 

blog | twitter

 
Posted: 15 August 2008 03:34 AM   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-23
3194 posts

CI cannot be compared to EE that easily.  It is like comparing a blank canvas and some paint to a finished painting.  CI is just the tools, EE is the result of working with those tools.

So my question to the community: did any of you start with codeigniter and move on to expression engine?  What are your thoughts on that process?

I started with CI, and in part because I was impressed with the code quality, in part because I was impressed with the community, and in part because of serendipity I began exploring EE.  EE changed the way I look at building websites the same way that CI changed the way I looked at building web applications.

My challenge to the EE dev team: sell me! Tell me everything wonderful there is to know about using EE and why I should make the switch.  I’m hoping that there is good reason to and I’ll be able to streamline development processes even more.

Bluntly, no.  I have no interest in selling you anything.  You do the work.  EE is a darn fine tool, but not perfect for every use.  Look at what you need in a CMS, and then look at EE and its competitors, and draw your own conclusions.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

 
Posted: 15 August 2008 03:45 AM   [ # 2 ]   [ Rating: 0 ]
Joined: 2007-12-11
34 posts

thanks derek,

that actually cleared something up for me: codeigniter is geared towards web applications, and expression engine is geared towards websites (there are more assumptions made about what you’re doing with it)

i guess, given your response, the only way to determine whether EE is going to suit my needs will be to explore it myself, which i’m doing right now smile

 Signature 

blog | twitter

 
Posted: 15 August 2008 04:18 AM   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2007-11-25
195 posts
yelirekim - 15 August 2008 07:45 AM

i guess, given your response, the only way to determine whether EE is going to suit my needs will be to explore it myself, which i’m doing right now smile

Always a good choice raspberry

I’ve been using CI for about 8 months now I don’t think I’ve made a webpage to the date without. I’ve looked into EE a bit but it required to much time to learn it to the point where I was confortable to work with it. However, since the company I now work for is starting to use EE more and more for their clients it might be about time that I start to learn it, however I would be getting paid LOL

The wonderful thing about EE is that the next version is going to be built with CI so that its going to be an amazing product when it’s released. I can’t wait!

 
Posted: 15 August 2008 08:27 AM   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-23
3194 posts

Perfect!  In re-reading my reply from late last night, I seem a bit “snarky”.  I’m glad you didn’t take it as such.  One of our unwritten philosophies at EllisLab is that we don’t try to “sell” our stuff.  In the ExpressionEngine pre-sales forum, it isn’t uncommon for us at all to tell someone that EE is not the right tool for them.  We’d rather not have a sale, then have a sale to a customer who has unrealistic expectations, and gets frustrated wink

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

 
Posted: 08 September 2008 07:20 PM   [ # 5 ]   [ Rating: 0 ]
Joined: 2008-09-08
8 posts

Hi everyone, first of all, Derek I have been following your blog for a while now, and let me tell you that it inspired me to jump into developing in CodeIgniter and also to taste the water on Expression Engine, so thank you.
Ok, now to the niddy griddy, I guess it is still hard for my mind to grasp how to use codeIgniter in a way I can benefit my expression engine development, I think you made a great point differentiating its respective purposes:

EE for websites.
CI for web applications.

Lovely, that helped me get a better idea of what is what. Now the questions is, what kind of web applications can I build in CI for my EE website? For example, what happens when I need more control over a custom made database and how would I integrate it to EE, or for example? how can use cookies or form validation with CI in my EE website? 

I hope my questions are valid and make sense.

cheers.

~Alfredo

 
Posted: 08 September 2008 07:42 PM   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-23
3194 posts

Yup, make sense to me.  In essence, while you can tinker with the underlying EE, it isn’t generally a good idea.  My advice would be that if EE can do what you need for a particular site (probably 90 or 95% of all websites, but probably quite a bit less for the codeigniter audience) then I’ve found that I save time (and ultimately money, but that is a point that every dev needs to weigh for themselves) by using EE.  If EE can’t handle it easily, or without really heavy customizing, then I’d say go for CI.

In your case you mention a custom made database.  I’d ask myself this simple question: can what I want be built within EE’s datastructure (weblogs are nearly infinitely customizable)?  If so, then I’d go with EE.  If not, I wouldn’t even try, and I’d go for a custom build EE solution.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

 
Posted: 08 September 2008 09:28 PM   [ # 7 ]   [ Rating: 0 ]
Joined: 2008-09-08
8 posts

Hey, that makes total sense. I will follow your advise then, I really liked the explanation. I’ve been trying to follow some EE tutorials here and there, most of them are really good, but i was wondering if there exist a good EE book I could grab to have a more formal learning experience(LOL, it that even exists).

Anyway, thank you again for the help.

~Alfredo

 
Posted: 08 September 2008 09:39 PM   [ # 8 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-07
2507 posts

Michael Boyink’s tutorials are the (not so) secret shortcut to that ‘lightbulb moment’.

Check out his blog as well as train-ee.  A lot of the stuff is free, but if you’re looking for a book - he has published his small business series.

That’s where I would start (and did start raspberry ).  Along with looking through the user guide, you should be up to speed pretty soon.

 Signature 
 
Posted: 08 September 2008 09:46 PM   [ # 9 ]   [ Rating: 0 ]
Joined: 2008-09-08
8 posts

Hey thanks, I would definitely give it a look, thank you Inparo.


~alf

 
Posted: 22 July 2009 06:15 PM   [ # 10 ]   [ Rating: 0 ]
Avatar
Joined: 2003-10-01
250 posts
ideaMachine - 09 September 2008 01:28 AM

Hey, that makes total sense. I will follow your advise then, I really liked the explanation. I’ve been trying to follow some EE tutorials here and there, most of them are really good, but i was wondering if there exist a good EE book I could grab to have a more formal learning experience(LOL, it that even exists).

Anyway, thank you again for the help.

~Alfredo

Alfredo - FYI : there is now a book out that i found very useful: 
Building Websites with EE

 Signature 

“Things look different from the seat of a bike carrying a sleeping bag with a cold beer tucked inside.”  ~Jim Malusa
“The bicycle has a soul. If you succeed to love it, it will give you emotions that you will never forget” ~ Mario Cipollini

 
Posted: 16 June 2010 04:06 PM   [ # 11 ]   [ Rating: 0 ]
Joined: 2010-05-28
6 posts

Hello Derek and other members,

I have been following threads on this issue or related but I am not sure about how CI and EE integration is made. I need to know if EE is the right application for my project.

What I undertood is: develop with EE whenever is possible, and develop with CI if as long as it is needed. At the time of using CI inside EE, what are we doing? Are we developing a custom module or what? Whatever the case, where can I find a tutorial on this or where should I check the documentation to get a clear idea of what to do? I am not sure, maybe they are silly questions, but I am a newcomer.

Best, from Madrid - Spain
Edu

 
Posted: 16 June 2010 04:46 PM   [ # 12 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-23
3194 posts

Hi Edu, welcome aboard.

For EE end users, the fact that EE is built on CI is invisible. Don’t worry too much about the distinction. What I’d encourage you to do is decide if EE is right for you without needing to learn CI or touch the code. EllisLab staff can help you with this if you want.

If it is, then you’re set - you’ll enjoy the flexibility and power of EE. If it isn’t, then I’d start looking at other solutions that CAN meet your needs. Depending on what those needs are, it might be another CMS, or you may need to code it yourself.

Good luck!

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

 
Posted: 17 June 2010 10:44 AM   [ # 13 ]   [ Rating: 0 ]
Joined: 2010-05-28
6 posts

Thank you Derek, following your link I am going to study in detail what advantages EE have for my project. I know the end users won’t realize and I am not worried. But as urgent questions, I need to get a first idea of this part of my post, what to do in case EE meets my needs:
“At the time of using CI inside EE, what are we doing? Are we developing a custom module or what?”.

Actually, my main problem is not being sure about what to do in the case of developing with EE and CI. I am pretty sure I will use EE as the base of the project (that has basically weblog and forum use). But I suppose the application doesn’t need to be coded from scratch in CI, if I want to add some extra fuctionality to EE. That’s why I am planning EE + custom features in CI. Correct?

Then, in short my question is: how can I customize EE with parts in CI and where can I find information about how to do it?

Edu

 
Posted: 17 June 2010 01:04 PM   [ # 14 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-23
3194 posts

Take a bit of time and get familiar with the EE community. You’ll see that there is a HUGE assortment of third party solutions. Check out http://devot-ee.com/add-ons/

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

 
Posted: 21 June 2010 02:12 PM   [ # 15 ]   [ Rating: 0 ]
Joined: 2010-05-28
6 posts

Please take into account I have experience with PHP, but I am not very skilled in CMS or frameworks.

So I understand that when we talk about integration of CI and EE, we refer to developing EE add-ons written with CI. Is this point of view correct? But is this the only way to communicate parts of an application in CI with EE? Is there any other possibility? In short, as I want to be able to code outside of the CMS, can I connect CI and EE this way?

Sorry for my English, I think my other posts could not be very clear. I think it is much more difficult for me to progress with these doubts, and I didn’t find community articles or Google search results to solve them so far…

Thanks again

 
1 of 2
1