Absolute newbie doubts:help needed!
Posted: Sun Jul 27, 2008 8:05 am
I have taken interest in web development lately and want to get into developement of ajaxed web apps.I found out that PHP is most preferred language for developing web 2.0 apps and thus want to learn it.As i started diggin about PHP,i found the zillion pages of info.. and so, even before startin actual learning i'd end up with many doubts.. pls help me out by clearin my all newbie doubts..
1]what version to start with v4 or v5 ?
I'd read that v5 introduced OO concepts.so is it ok to directly start with v5 or shall i need to start with v4 and then upgrade myself to v5 once thorough with v4?
2]what learning approach shud be used?
I started off with 'Programming PHP' book frm O'Reilly.It goes into each fundamentals (like functions,arrays,strings etc) thoroughly with examples limiting to the concept explained.But i am looking for examples which uses multiple concepts together in one ex.
so guide me tht shall i continue with the same book or use other book for basics? (suggest books in latter case)
3]so far what i learnt is we can use both html & php script in single file.but when i think of developing large apps(being familiar with jsp/servlets) it wud become messy to code both presentation stuff and business logic in single module.so what shud be used for seperation of preso stuff and logic?
I'd read about template engines (smarty) and mvc kinda frameworks (zend) but i am still confused about difference between them and when to use what? again when i searched,there are many template engines,frameworks to use ,but i;d like to know which is good one,to start with?
4]suggest the organised way of learning php
As i said,i've come across lot of information about php like -template engines -frameworks -PHP extensions PEAR -AJAX programming with PHP,etc. so i am completely confused what to start with ,i cant learn everything at same time though i feel like doing it,as there must be dependency (which i am now unaware of) to learn something which would requre knowledge of other things .
so please suggest me what to start with then when i shud be learning (ie.sequence) things like
-template engines -frameworks -mysql connections/apps -PHP extensions PEAR -AJAX programming with PHP,etc.
5]lastly suggest me good resource for learning php (websites/links/books/pdf's/preso's/ebooks)
thanks you,
php newbie.
1]what version to start with v4 or v5 ?
I'd read that v5 introduced OO concepts.so is it ok to directly start with v5 or shall i need to start with v4 and then upgrade myself to v5 once thorough with v4?
2]what learning approach shud be used?
I started off with 'Programming PHP' book frm O'Reilly.It goes into each fundamentals (like functions,arrays,strings etc) thoroughly with examples limiting to the concept explained.But i am looking for examples which uses multiple concepts together in one ex.
so guide me tht shall i continue with the same book or use other book for basics? (suggest books in latter case)
3]so far what i learnt is we can use both html & php script in single file.but when i think of developing large apps(being familiar with jsp/servlets) it wud become messy to code both presentation stuff and business logic in single module.so what shud be used for seperation of preso stuff and logic?
I'd read about template engines (smarty) and mvc kinda frameworks (zend) but i am still confused about difference between them and when to use what? again when i searched,there are many template engines,frameworks to use ,but i;d like to know which is good one,to start with?
4]suggest the organised way of learning php
As i said,i've come across lot of information about php like -template engines -frameworks -PHP extensions PEAR -AJAX programming with PHP,etc. so i am completely confused what to start with ,i cant learn everything at same time though i feel like doing it,as there must be dependency (which i am now unaware of) to learn something which would requre knowledge of other things .
so please suggest me what to start with then when i shud be learning (ie.sequence) things like
-template engines -frameworks -mysql connections/apps -PHP extensions PEAR -AJAX programming with PHP,etc.
5]lastly suggest me good resource for learning php (websites/links/books/pdf's/preso's/ebooks)
thanks you,
php newbie.