Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 I want to learn PHP Framework, but i dunno OOP & MVC

views
     
TSaliqueamyrei
post Sep 8 2011, 04:06 PM, updated 15y ago

Casual
***
Junior Member
318 posts

Joined: Nov 2006
From: Piyu Piyu Piyu



Hello all. I've been planning to learn php framework (CI, Fuel) and convert all my php application to framework-based. But the problem is I dunno about OOP/MVC. I have no clue at all. It is very hard for me to catch up and learn the framework. I've watched many vid tutorials, read and try many tutorials but every time I want to start to build the app..I lost. Everything just poof..missing.. sad.gif

I think self train is not my thing. So anyone can suggest me any training center/company in Malaysia which provide php training especially complete in-depth training in OOP and MVC? Really want to learn those so badly..
taranjit
post Sep 8 2011, 04:28 PM

Getting Started
**
Junior Member
133 posts

Joined: Oct 2010
build tiny toy project. lost? get some help from stackoverflow and qoura.

fork some app from github. learn how people code.

CI is easy to pickup. cause got many helper.
slier81
post Sep 8 2011, 09:14 PM

On my way
****
Senior Member
541 posts

Joined: Jun 2007
From: Penang
start learn it, oop not that hard
what hard about oop is when implementing proper design pattern

This post has been edited by slier81: Sep 8 2011, 09:16 PM
Fleapy
post Sep 8 2011, 11:42 PM

Getting Started
**
Junior Member
52 posts

Joined: Aug 2011
QUOTE(aliqueamyrei @ Sep 8 2011, 04:06 PM)
Hello all. I've been planning to learn php framework (CI, Fuel) and convert all my php application to framework-based. But the problem is I dunno about OOP/MVC. I have no clue at all. It is very hard for me to catch up and learn the framework. I've watched many vid tutorials, read and try many tutorials but every time I want to start to build the app..I lost. Everything just poof..missing.. sad.gif

I think self train is not my thing. So anyone can suggest me any training center/company in Malaysia which provide php training especially complete in-depth training in OOP and MVC? Really want to learn those so badly..
*
I feel you, the only reason why you are losing them after watching those tutorials is because you have not found the importance of those concepts.
Say if i intend to build an iPhone app, i can go all out reading 3-4 books over and over again? By doing just that, i will definitely lose all those concepts in no time..
Why is that? Because i dont know what this is used for, which is important, and i will assume that once i've read it i totally get it...

What should you do? Build something real! You could pushover converting existing apps to a later date.
Start anew, create a new application from scratch, and start understanding what's going on. Experiment what if i take out this code, what happens? And when you're stuck, start referring to books, google, etc..
Once you've solve it, that's when you get it. Doesn't mean you will totally get it, but at least you know this is what i have to do in order to get that done (added to your toolbox). Then as you keep doing them, you will know them by heart.

Self training is possible. So get out there and build something real, build something simple. You'll be surprised! Good Luck! icon_rolleyes.gif
BabaGanouche
post Oct 18 2011, 04:29 AM

New Member
*
Junior Member
5 posts

Joined: Oct 2011
QUOTE(Fleapy @ Sep 8 2011, 11:42 PM)
I feel you, the only reason why you are losing them after watching those tutorials is because you have not found the importance of those concepts.
Say if i intend to build an iPhone app, i can go all out reading 3-4 books over and over again? By doing just that, i will definitely lose all those concepts in no time..
Why is that? Because i dont know what this is used for, which is important, and i will assume that once i've read it i totally get it...

What should you do? Build something real! You could pushover converting existing apps to a later date.
Start anew, create a new application from scratch, and start understanding what's going on. Experiment what if i take out this code, what happens? And when you're stuck, start referring to books, google, etc..
Once you've solve it, that's when you get it. Doesn't mean you will totally get it, but at least you know this is what i have to do in order to get that done (added to your toolbox). Then as you keep doing them, you will know them by heart.

Self training is possible. So get out there and build something real, build something simple. You'll be surprised! Good Luck!  icon_rolleyes.gif
*
What i can recomendo to you is a framework named scriptcase, it realy helped me alot in the beggining, it has alot of videos, tutorials and trainings for free, worth take a look.
viper_1129
post Oct 18 2011, 11:00 AM

Casual
***
Junior Member
401 posts

Joined: Jan 2005


You need to understand the basics and purpose of OOP before you go into MVC. With a strong knowledge of OOP, you will then understand how MVC makes enterprise programming piece of cake.
exentric_nova
post Oct 18 2011, 11:03 AM

I Am Serious
******
Senior Member
1,702 posts

Joined: Jan 2003
From: Semenyih


You need a purpose. Without a purpose learning programming can be very boring.

Try creating something you want to use. Say for example a blog with membership system. That should be a simple project.

I myself haven't use many framework but between the one I tested, CI is the easiest to learn and they have a very good documentation on their site.
ayil
post Oct 18 2011, 12:02 PM

Price Police Sux My Dix
*******
Senior Member
2,377 posts

Joined: Jul 2007
From: Biggest IT Warehouse in Malaysia



From my pov, it's about trial n error.
like @exentric said earlier, "Without a purpose,
learning programming can be very boring". Yes,
indeed, i really second that. OP/MVC can be
easily learned from a tutorial video. I did that
last year. + additional help from few forumer.
Aaah, talking about forumer, you must join
any codec / programming forum so you could
ask anything about any error occurred in the future.
odin88
post Oct 18 2011, 03:54 PM

Casual
***
Junior Member
475 posts

Joined: Oct 2004
From: -Klang-Kelana Jaya-



Just go build a blog tutorial using CI . Then u understand the MVC part .. the helper part .. and next you can start build more complex stuff .. try the CRUD stuff first ..

Good luck ..

http://net.tutsplus.com/articles/news/code...-scratch-day-1/

http://net.tutsplus.com/sessions/codeigniter-from-scratch/

I learn CodeIgniter 3 years ago and now I am more on Cakephp for about 2 years already .. CI has a really low learning curve ..

This post has been edited by odin88: Oct 18 2011, 03:59 PM
cyberfly
post Oct 18 2011, 09:12 PM

Web Dev Zero to Hero
*****
Senior Member
706 posts

Joined: Dec 2006



QUOTE(odin88 @ Oct 18 2011, 03:54 PM)
Just go build a blog tutorial using CI . Then u understand the MVC part .. the helper part .. and next you can start build more complex stuff .. try the CRUD stuff first ..

Good luck ..

http://net.tutsplus.com/articles/news/code...-scratch-day-1/

http://net.tutsplus.com/sessions/codeigniter-from-scratch/

I learn CodeIgniter 3 years ago and now I am more on Cakephp for about 2 years already .. CI has a really low learning curve ..
*
This. I follow Nettuts CodeIgniter video although zero knowledge of OOP PHP and MVC at that time. The video is very good and easy to understand. I suggest you start at the form validation part first because i learn many things from that part smile.gif
BabaGanouche
post Oct 19 2011, 09:38 PM

New Member
*
Junior Member
5 posts

Joined: Oct 2011
I'm a huge fan of frameworks and PHP code generators, I made a few courses of PHP and then fall in love for those generators, bascially most of my learning into PHP was on those generators and I fell that I dont have many gaps in my learning curve, OK, maybe there is some very basic stuff that I may dont know how to do but in other way I focused the learning in the real advanced things, was learning what really matters.

Using those PHP code generators such as scriptcase for example will teach you the correct flow in how to develop for web, if you want to start using a framework I would recomend you to use scriptcase.

But you can never forget to keep studing, that's my tip. Hope that this text helped you a little bit.

silverhawk
post Oct 21 2011, 07:06 PM

Eyes on Target
Group Icon
Elite
4,956 posts

Joined: Jan 2003


Whatever you don't understand you can just post it here or PM me, we'll try to help you understand the concepts involved.

I wouldn't recommend code generators, because the code is generated you might not really understand why things work the way they do, or why such a design was chosen. You can probably build with it, but you might not come off understanding anything.

You can give it a try and see if it helps you.

Remember that MVC is not strictly OO, you can use MVC without any OOP.
kesava11
post Feb 14 2014, 12:12 PM

New Member
*
Junior Member
8 posts

Joined: Jan 2009


QUOTE(Fleapy @ Sep 8 2011, 11:42 PM)
I feel you, the only reason why you are losing them after watching those tutorials is because you have not found the importance of those concepts.
Say if i intend to build an iPhone app, i can go all out reading 3-4 books over and over again? By doing just that, i will definitely lose all those concepts in no time..
Why is that? Because i dont know what this is used for, which is important, and i will assume that once i've read it i totally get it...

What should you do? Build something real! You could pushover converting existing apps to a later date.
Start anew, create a new application from scratch, and start understanding what's going on. Experiment what if i take out this code, what happens? And when you're stuck, start referring to books, google, etc..
Once you've solve it, that's when you get it. Doesn't mean you will totally get it, but at least you know this is what i have to do in order to get that done (added to your toolbox). Then as you keep doing them, you will know them by heart.

Self training is possible. So get out there and build something real, build something simple. You'll be surprised! Good Luck!  icon_rolleyes.gif
*
Hi there. We are an official Zend Certification Authorized training partner in Malaysia. Kindly refer to our services at www.rynet.com.my. We can send our trainer to your site, should meet the minimum requirements of the T&C's. Apart from Zend certified training, we do provide in house customized courses on PHP, JavaScript, HTML5, CSS3 too. Have a look and drop in your query to be answered soonest.

Thank you,
Kesava
kesava11
post Feb 14 2014, 12:13 PM

New Member
*
Junior Member
8 posts

Joined: Jan 2009


We are an official Zend Certification Authorized training partner in Malaysia. Kindly refer to our services at www.rynet.com.my. We can send our trainer to your site, should meet the minimum requirements of the T&C's. Apart from Zend certified training, we do provide in house customized courses on PHP, JavaScript, HTML5, CSS3 too. Have a look and drop in your query.

Thank you,
Kesava
spyworld
post Mar 7 2014, 09:47 PM

Getting Started
**
Junior Member
175 posts

Joined: Jun 2006



My personal opinion:
If you're very strong in basic programming. OOP and Framework isn't too complex at all.

Why OOP?
When you writing a script, you don't need to rewrite the script again. One of the advantage is taking variable from other function. Example:

CODE
function abc($a,$b){
$this->c = $c = $a+$b;
$this->d = $a+$b+$c;
}

function total(){
echo "first total".$this->c;
echo "second total".$this->d;
}


Some people think, "Framework is too complex!"
PHP framework is much more easy than scratch.
All the basic requirement of programming script is included in framework.
Before you start developing application using php framework, you must to understand MVC work.


QUOTE(kesava11 @ Feb 14 2014, 12:13 PM)
We are an official Zend Certification Authorized training partner in Malaysia. Kindly refer to our services at www.rynet.com.my. We can send our trainer to your site, should meet the minimum requirements of the T&C's. Apart from Zend certified training, we do provide in house customized courses on PHP, JavaScript, HTML5, CSS3 too. Have a look and drop in your query.

Thank you,
Kesava
*
I like Zend Training Course but too expansive. 1 Zend Training Course can buy 1 Macbook Pro.

Additional Message:
All Zend Guidebook/E-book must buy it.

This post has been edited by spyworld: Mar 7 2014, 09:52 PM
cubiclecarbonate
post Mar 10 2014, 03:37 PM

On my way
****
Junior Member
558 posts

Joined: Jul 2011


sketch the story board first
goolias
post Mar 19 2014, 01:37 PM

Casual
***
Junior Member
321 posts

Joined: Jan 2003
QUOTE(spyworld @ Mar 7 2014, 09:47 PM)
My personal opinion:
If you're very strong in basic programming. OOP and Framework isn't too complex at all.

Why OOP?
When you writing a script, you don't need to rewrite the script again. One of the advantage is taking variable from other function. Example:

CODE
function abc($a,$b){
$this->c = $c = $a+$b;
$this->d = $a+$b+$c;
}

function total(){
echo "first total".$this->c;
echo "second total".$this->d;
}


Some people think, "Framework is too complex!"
PHP framework is much more easy than scratch.
All the basic requirement of programming script is included in framework.
Before you start developing application using php framework, you must to understand MVC work.
I like Zend Training Course but too expansive. 1 Zend Training Course can buy 1 Macbook Pro.

Additional Message:
All Zend Guidebook/E-book must buy it.
*
Framework are pieces of puzzle people already built, and we make use of that. If you think PHP framework is complex, wait until you have seen MFC.

I seconded on Zend Training in fact training prices in Malaysia are outrageously expensive for a typical IT personnel salary earned in Malaysia.

Zend isn't a full fledge Framework, still lacking ORM and unit testing iinm.
But they are many follower on Zend, due to official support from Zend company, creators behind the PHP

MVC concept start emerge years ago, it was not flourish until web application was blooming for the past few years, I like the idea of splitting logic, presentation but to really practise on that it was not easy. Imagine javascript in your web pages, wouldn't that defeat the presentation layer to be clean from logic.
A strict MVC is hard to follow if you would like to know, try YII framework, one of the PHP framework I have seen that really disintegrate logic and presentation, CI is still a light MVC framework, that's why it is easy to grasp. Not the same case as YII but it is powerful. Yii tried to be the ASP.NET is PHP world.

BTW, CI development has been stopped, I would recommend you go to Laravel instead.



 

Change to:
| Lo-Fi Version
0.0198sec    0.67    5 queries    GZIP Disabled
Time is now: 14th December 2025 - 06:24 AM