Part of the EllisLab Network
   
1 of 2
1
MVC, PHP or CI study materials
Posted: 17 March 2007 08:20 AM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  12
Joined  03-10-2007

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.

Profile
 
 
Posted: 17 March 2007 08:47 AM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  10
Joined  03-12-2007

learn PHP first, or you’re gonna shoot yourself trying to learn MVC…unless you are familiar with OOP.

Find a mini-project and develop it with PHP (and MySQL).  Once you are comfortable, then rebuild it in a framework (Code Igniter).

Profile
 
 
Posted: 17 March 2007 01:06 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Avatar
Total Posts:  12
Joined  03-10-2007

Hm but I am really lazy. I would pretty much like to start directly CI while consulting the PHP manual too.

Profile
 
 
Posted: 17 March 2007 03:21 PM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  10
Joined  03-12-2007

That’s your choice.  If you are doing this just for fun, then that’s fine.

If you are looking to make a career out of programming, then you are only shooting yourself in the foot…  Your choice though.

Profile
 
 
Posted: 17 March 2007 03:51 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  428
Joined  02-25-2007

I don’t want to sound typical here, but this is the first place I look as reference.

PHP 5 Objects, Patterns and Practice is a good book.  My wife got it for me for Christmas this past year.  I’m slowly (about as slow as a dung beetle trying to roll a piece of dookie superglued to the ground) (well, ok, maybe not that slow) migrating from my old and natural procedural ways to learn OOP, specifically within MVC.  This book is a really good place to start once you get a grasp on PHP basics and want to begin to learn all about classes and objects.

Also - being “lazy” is almost certainly going to lead you to sloppy and unmaintainable code down the road.  If you’re going to learn it, then take the time to LEARN it.

 Signature 

InkType.org - CodeIgniter Based Blogging Software | CodeIgniter 101: Models | AutoModel

Profile
 
 
Posted: 17 March 2007 03:52 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Avatar
Total Posts:  12
Joined  03-17-2007

Have you got a lot of experience developing web apps in another language?

If so, you could probably just jump into a using CI and learn PHP along the way. 

That’s I’m doing, really.  I’ve never developed a full app with PHP before, but I’ve build many Perl web apps, and I’ve dabbled with PHP in the past.

 Signature 

Perl Girl, PHP Newbie, MVC Enthusiast, Best Practices Evangelist
Tangible: Life & Tech

Profile
 
 
Posted: 17 March 2007 03:54 PM   [ Ignore ]   [ # 6 ]  
Summer Student
Avatar
Total Posts:  12
Joined  03-17-2007
Developer13 - 17 March 2007 03:51 PM

Also - being “lazy” is almost certainly going to lead you to sloppy and unmaintainable code down the road.  If you’re going to learn it, then take the time to LEARN it.

I absolutely have to concur here.

 Signature 

Perl Girl, PHP Newbie, MVC Enthusiast, Best Practices Evangelist
Tangible: Life & Tech

Profile
 
 
Posted: 17 March 2007 03:56 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Avatar
Rank
Total Posts:  88
Joined  01-12-2007

You need an understanding of PHP (or programming concepts) because CI uses PHP, it does not replace it.

Profile
 
 
Posted: 17 March 2007 04:14 PM   [ Ignore ]   [ # 8 ]  
Research Assistant
RankRankRank
Total Posts:  970
Joined  04-13-2006
Kozuch - 17 March 2007 01:06 PM

Hm but I am really lazy.

That’s not going to persuade people here to spend much time answering your questions. If you want to learn, put in the time and effort.

Profile
 
 
Posted: 18 March 2007 06:00 AM   [ Ignore ]   [ # 9 ]  
Summer Student
Avatar
Total Posts:  12
Joined  03-10-2007
Martin Hall - 17 March 2007 04:14 PM
Kozuch - 17 March 2007 01:06 PM

Hm but I am really lazy.

That’s not going to persuade people here to spend much time answering your questions. If you want to learn, put in the time and effort.

It might be unbelievable but this thread was answered much faster and heavier then any my other therad was smile... well thats how life might work.

Never mind, I did not state Ive got some past experience with C++, so maybe I not a real lame. However, I was always trying to avoid learning PHP since that is mainstream a lot of lame code is still around…

Profile
 
 
Posted: 18 March 2007 08:29 PM   [ Ignore ]   [ # 10 ]  
Grad Student
Avatar
Rank
Total Posts:  87
Joined  01-02-2007

since CI is PHP powered.. i suggest you have a crush course on PHP first then fix that crush with CI.

view the video tutorials… it’ll help a lot.

also visit the forums often.  gulp

 Signature 

Software is like SEX it’s better when it’s FREE - Linus Torvald

Profile
 
 
Posted: 19 March 2007 01:23 PM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  472
Joined  09-26-2006
Kozuch - 18 March 2007 06:00 AM

It might be unbelievable but this thread was answered much faster and heavier then any my other therad was smile... well thats how life might work.

LOL
That’s probably why some guys make so much money in advertising. You just never know
what’s going to reel them in.

Being Lazy is rule number THREE for any aspirant guru programmer.
Rule number TWO is know what you’re doing first.

A book I found useful is the venerable “Programming PHP”
I don’t know any MVC books cause I’ve not bothered to look.

 Signature 

Old programmers never die, they just parse away.

Profile
 
 
Posted: 19 March 2007 02:36 PM   [ Ignore ]   [ # 12 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  886
Joined  03-06-2006
Kozuch - 17 March 2007 01:06 PM

Hm but I am really lazy.

The Preface of Programming Perl AKA The Camel Book, says that the three great virtues of a programmer are laziness, impatience, and hubris.  From the glossary, it defines laziness as:

laziness: The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don’t have to answer so many questions about it.  Hence, the first great virtue of a programmer.

 Signature 

Corozal, Belize | Linux.bz | Using Kubuntu Linux 7.10 | CodeIgniter 1.5.3

Profile
 
 
Posted: 20 March 2007 11:34 AM   [ Ignore ]   [ # 13 ]  
Grad Student
Avatar
Rank
Total Posts:  56
Joined  10-28-2006

Linuxbz I totally forgot about that line. Nice.

Profile
 
 
Posted: 20 March 2007 12:07 PM   [ Ignore ]   [ # 14 ]  
Grad Student
Avatar
Rank
Total Posts:  95
Joined  09-17-2006

laziness: The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don’t have to answer so many questions about it.  Hence, the first great virtue of a programmer.

Good one!!!

I use three books for reference… I learn by doing

PHP in 24 hours SAMS PUBLISHING Matt Zandstra
PHP5 in practice ELLIOT WHITE III and JOHNATHAN D EISENHAMER
ZEND PHP 5 CERTFICATION STUDY GUIDE

and of course the forums….

 Signature 

Code Igniter for Designers

Profile
 
 
Posted: 20 March 2007 04:22 PM   [ Ignore ]   [ # 15 ]  
Summer Student
Avatar
Total Posts:  12
Joined  03-10-2007

What makes me lazy is the need to write a big site project - simply too much for a first CI touch.

Profile
 
 
   
1 of 2
1
 
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: 66423 Total Logged-in Users: 34
Total Topics: 84774 Total Anonymous Users: 1
Total Replies: 454931 Total Guests: 266
Total Posts: 539705    
Members ( View Memberlist )
Newest Members:  GeorgiaJZeerfedegheEdgedcenticeRoger_Mxcamilojoostvaningenlittleorangemanpaulevans