Welcome Guest, Not a member yet? Register   Sign In
Hello everyone. I'm new in Codeigniter... :) question please...
#1

[eluser]Unknown[/eluser]
Hello,

I wonder if there is any article or even a book that explains how to work with codeigniter.

I'm asking it because I tried some articles and evry step I do it seems to me that I work wrong.

thanks alot!

Tal.
#2

[eluser]TheFuzzy0ne[/eluser]
Welcome to the CodeIgniter forums.

There are lots of tutorials around, most written, but also some good video tutorials. I've dedicated a thread to it - http://ellislab.com/forums/viewthread/107773/.
#3

[eluser]Dam1an[/eluser]
Hi, welcome to CI and the forums
There is also a printed book if you prefer on Amazon although that costs money :o
#4

[eluser]TheFuzzy0ne[/eluser]
I bought that book a while back, and I wouldn't recommend it. I read it from front to back, and felt that so much was missing. I honestly think the tutorials I've posted are better, but that's just me.
#5

[eluser]Dam1an[/eluser]
[quote author="TheFuzzy0ne" date="1241208975"]I bought that book a while back, and I wouldn't recommend it. I read it from front to back, and felt that so much was missing. I honestly think the tutorials I've posted are better, but that's just me.[/quote]

Really? I know a few people who got it, and said its really good :S
What sort of structure does it take? Is it learnign by building something from start to finish, or a printed copy of the user guide?
#6

[eluser]TheFuzzy0ne[/eluser]
I don't think it is as good as the user guide. It's almost like a user guide that someone has tried to convert into a tutorial. If I recall correctly, it's bloated with a lot of theory, and general PHP stuff that's nothing to do with CodeIgniter. Personally, I like books that get down to the point and show lots of working examples. I think that less than 5% of the book is code, but then again, I'd communicate in PHP if I could.

I think that during the course of the book, you build several different applications. The book goes into detail about the "most" of CodeIgniter's features, but not all of them, also the book is about 2 years old. CodeIgniter isn't much older than that and it's changed quite a bit (even though a lot of what's in the book sill holds true). Tongue

Anyhow, just giving my two cents. I don't want to put you off buying it if you find it helpful, but for me it's one of those books didn't think offered very good value for money. A good book is truly priceless.
#7

[eluser]ramabodhi[/eluser]
I've found, as another semi beginner (started teaching myself php in january, grabbed CI in feb) that the best way to learn is to just do it.

Honestly I started with the two tutorial video's and the userguide. For the first month I was practically spending as much time in the userguide as I was in my code and after awhile it became natural.

If you find everything your doing is just wrong.. then start with the tutorial vids, and copy them exactly until you get them to work.. Then go into the userguide and experiment with everything, copy the examples until you get them to work. This will help you develop a feel for ci.

Id say 90% of what you need is in the userguide, and the rest you can deduce creatively or find here on the forums.

Make up tests, and little games, or apps.. One of my first things to do was to create a cardgame using loops and tables to display results (a was also simulatneously learning php so this helped me understand arrays very well).. This got me the hang of passing information between the various components of the ci structure.

Again all I can say is that every day I sit down, code something and when I'm done see a cleaner easier way to do it, its all about getting your hands dirty and learning as you go...

The beauty of ci is that if i dont like a controller, i can rewrite it in a brief period of time, without messing up the rest of my site (as long as i maintain method/variable names).

And really try to get a grip on the mvc structure.. The one thing I liked about ricks book (which would have been useful months ago) was how it went into a bit more detail on the mvc structure, and how to layout your functions and methods to make it truly oomvc.

Keep playing, read the guide, read these forums, watch the vids and experiment, experiment, experiment

CI Video Tutorials - http://codeigniter.com/tutorials/
Ci User Guide - http://ellislab.com/codeigniter/user-guide/
The Wiki (not too populated) - http://codeigniter.com/wiki/

Some Ci Tutorials and Articles - http://programmersvoice.com/

Gentle Intro To CI - http://eeinsider.com/articles/a-gentle-i...deigniter/

Good Into Here (good pagination lesson) - http://godbit.com/article/introduction-to-code-igniter

Another Step By Step Intro - http://www.phpeveryday.com/articles/Code...-P146.html

IBM Tutorial - http://www.ibm.com/developerworks/web/li...index.html

that should keep you busy Smile
#8

[eluser]Unknown[/eluser]
Thanks alot guys! appreciate your help!

It very nice to see that CI have really good forum.. Smile

Hope to learn and share my knowledge,

see you soon.

Tal.




Theme © iAndrew 2016 - Forum software by © MyBB