Welcome Guest, Not a member yet? Register   Sign In
What should I need to know in Code Igniter?
#1

[eluser]pennfoli0[/eluser]
Hi CI Experts,

I'm a Web Designer and I'm new to programming but I know a little PHP and MySQL. I want to expand my knowledge in Web Development using Code Igniter.

To practice what I will learn here I will create my own little project, So I would know the process of building my own application.

Here are my goals are my goals of my project.

- build register form
- build a secure login form
- creating custom fields
- simple user management with roles (writer and visitor only)
- database of names and other information (would contain simple biodata of people w/ image)
- powerful search engine to search the database of names (can search the database of names)


I think thats all for now. If you have some Ideas fell free to share it here.

If there is a thread already here helping me to achieve my goals, please post a link here.

Another that is in my mind is securities? how would secure my application? like login and database.

Thank you some much! Smile
#2

[eluser]umefarooq[/eluser]
Hi first take a look on tutorials of CI

http://codeigniter.com/tutorials/

also take look on CI user guide which will help you more to solve you problem and also you can find some libraries to create secure login system.

http://ellislab.com/codeigniter/user-guide/
#3

[eluser]opel[/eluser]
The User Guide is excellent.

I use this for templating as it IMHO its better than default view system and has good docs :

http://maestric.com/en/doc/php/codeigniter_template

I followed this tutorial for Authentication and customised it to suit my needs, took me less time than trying to get FreakAuth etc to work.

http://www.bramme.net/2008/07/auth-libra...-tutorial/
#4

[eluser]n0xie[/eluser]
Get a good book on OOP PHP5. Learn about the basics of OOP. Once you grasp the concepts then start coding: it's much easier to learn a programming language if you understand the underlying principles. After that it's just 'syntax' which you need to familiarize, but you will notice that picking up a new language is much easier this way.

I'm all for 'learning by doing' but some fundamental knowledge will help you out a lot in the beginning since CI uses certain conventions which may seem confusing to a beginner...
#5

[eluser]opel[/eluser]
I used OOP at my old job and spent the past few months working in procedural and smarty (yuck) so have had to relearn my OOP stuff.

Nettuts has some excellent intermediate tutorials for PHP and many are OOP based
#6

[eluser]TheFuzzy0ne[/eluser]
To expand on those replies, here's a link to more CodeIgniter resources - http://ellislab.com/forums/viewthread/107773/
#7

[eluser]pennfoli0[/eluser]
Thanks for all your replies greatly appreciate it!

@n0xie and everyone: whats OOP PHP book do you suggest me to buy? good for a newbie like me.

-Thanks, greatly appreciate your help to me.
#8

[eluser]opel[/eluser]
oreilly are really good
#9

[eluser]pennfoli0[/eluser]
thanks opel! Smile
#10

[eluser]n0xie[/eluser]
There are a lot of good books out there, but also a lot of bad ones. Just look up some reviews before you buy one. The idea is to get the general concept of what Object Oriented Programming is all about. Once you grasp the basics, you should just dive into CI. It will make much more sense why and how certain problems are solved.

If I were you I would start with reading some tutorials and work my way up there. Google is your friend. Just make sure you check what version of PHP the tutorials are describing. A lot has changed between PHP4 and PHP5 when it comes to the way objects work. You might not even need to buy a book, but it's my experience that once you work your way through the basics, it's much harder to find good information via google. If you still want to learn more, then this is probably the time you'd want to start looking for a good book.

This is a good starting place:
https://www.ibm.com/developerworks/library/os-php-read/

Specifically:
http://www.ibm.com/developerworks/openso...os-phpobj/
Eventhough this is has PHP4 as example it describes the basics very clearly:
http://www.onlamp.com/pub/a/php/2005/07/...tml?page=1




Theme © iAndrew 2016 - Forum software by © MyBB