Part of the EllisLab Network
   
2 of 2
2
MVC, PHP or CI study materials
Posted: 20 March 2007 04:52 PM   [ Ignore ]   [ # 16 ]  
Grad Student
Avatar
Rank
Total Posts:  83
Joined  01-12-2007
linuxbz - 19 March 2007 02:36 PM

The Preface of Programming Perl AKA The Camel Book, says that the three great virtues of a programmer are laziness, impatience, and hubris.

wow , nice quote, i realy can relate smile

Profile
 
 
Posted: 22 March 2007 07:43 AM   [ Ignore ]   [ # 17 ]  
Research Assistant
RankRankRank
Total Posts:  574
Joined  03-20-2006

I like Kozuch’s attitude.

If i want to learn how to fix a sash window i would ask someone who had done it before to tell me about the gotchas and things to look out for. Fir instance. Should i make the weights out of lead like it say in the book? No, to save money, use highly trained mice and a pully system.

See what i mean?

Profile
 
 
Posted: 22 March 2007 05:44 PM   [ Ignore ]   [ # 18 ]  
Grad Student
Rank
Total Posts:  32
Joined  02-16-2007

I can understand wanting to just dive in, and I can understand the lazyness aspect.

For me the best way to be lazy, is to KISS, think about it first before I do it, then write it once properly without taking shortcuts. That way I don’t end up with mangled code that needs to be revisited often as then I’d find I’m doing more work than I need to and that would be dumb.

If you have some decent programming experience, picking up Php shouldn’t be too difficult, after the first two or three languages it gets much easier to learn a new one.

The biggest problem I have is forgetting what I’m writing in when I’m working on three or four apps in different languages all at the same time. C#, Perl, Php, Javascript, all similar enough to catch you out when you’re tired and trying to do something in a hurry.

 Signature 

I fold for Code Igniter
You can join us

CI 1.6.1 | RedHat | OS X | Textmate | Parallels | VM Ware

Profile
 
 
Posted: 23 March 2007 03:08 AM   [ Ignore ]   [ # 19 ]  
Lab Assistant
RankRank
Total Posts:  111
Joined  03-08-2007
Kozuch - 17 March 2007 08:20 AM

Hi,

does anyone know a good place to start learning how to develop in MVC based environment? I am a real newbie and dont even know almost any PHP at all.

I’m also a CI newbie, and I think CI’s implementation of MVC is very loose, so you don’t need to learn much.  After looking at a couple of CI applications, I think what you get out of CI are shortcuts.  You can still make calls to the database from anywhere in your application. You can totally bypass the model, etc. You can do whatever you want (in other words, breaking MVC), you just don’t have to write a lot of code to do it.

It’s quite different from Ruby on Rails.  If you want to see what a full-featured MVC framework is like, you should check out RoR, because in RoR you have to go through the model.  The model wraps the database.  It’s actually very beautiful.  I wish CI had something similar.

Profile
 
 
   
2 of 2
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 64453 Total Logged-in Users: 18
Total Topics: 80961 Total Anonymous Users: 0
Total Replies: 435695 Total Guests: 194
Total Posts: 516656    
Members ( View Memberlist )