Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 3 of 6 FirstFirst 1 2 3 4 5 ... LastLast
Results 21 to 30 of 54
  1. #21
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  2.  

  3. #22
    Senior Member peezybro's Avatar
    Join Date
    Aug 2011
    Location
    El Cajon, California
    Posts
    229
    Member #
    28822
    Liked
    6 times
    I was looking at the guides and im so confused lol. What does this do? Does it make website building easier?? lol. I just now thought i was learning everything i need to then new stuff pops up lol
    "ON TIME, ON TARGET, NEVER QUIT"


  4. #23
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Looking at this I have some questions.

    1. How long would this take to learn and master this?
    2. Is it vital to know php to be able to take these tutorials and adjust them to ones needs?
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  5. #24
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Quote Originally Posted by peezybro, post: 223538
    I was looking at the guides and im so confused lol. What does this do? Does it make website building easier?? lol. I just now thought i was learning everything i need to then new stuff pops up lol
    Lol yea I know exactly how you feel. But then again this stuff evolves every day.
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  6. #25
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Just a heads up to everyone I found this one: http://www.phpro.org/tutorials/Model...oller-MVC.html the least confusing and most helpful. Although I'm still very confused I think I will eventually learn it.
    AlphaMare likes this.
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  7. #26
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Quote Originally Posted by Andrew Yurlov, post: 223542
    Just a heads up to everyone I found this one: http://www.phpro.org/tutorials/Model...oller-MVC.html the least confusing and most helpful. Although I'm still very confused I think I will eventually learn it.
    Thanks - that one is now added to my ever-lengthening list of stuff to read as soon as I have a minute...
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  8. #27
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Well, MVC is a complicated concept because it's an OO paradigm, and a very complex one at that, rooted in a long history of application architecture. All of which means you need to understand OOP and the roots of MVC if you really want to understand how and why it works the way it does.

    Caveat: you don't need to know how an MVC works in order to use one... but if you want to be a ninja, you should learn this stuff.

    I tried to simplify the View & Controller concept in my example above to very basic file-based scripts. I thought that would be a good intro for you guys. It's as simple as determining what "resource" the user is requesting and translating that to a "controller" (in the case of my example above, a php script in your "pages" folder).

    If you want to understand MVC in depth, you'll need to learn PHP OO first. You should start here: http://php.net/manual/en/language.oop5.php for language reference, and maybe go read some tutorials on OOP, like this one: http://www.osnews.com/story/6788, or this Wikipedia entry: http://en.wikipedia.org/wiki/Object-...ed_programming

    Then, once you've learned OO, go read up a little bit on multi-layer application architecture, which is where MVC is rooted. I can't find any good Multi-layer architecture articles, but the basic concept is separation of an application into 3+ layers: DAL (data access layer), BLL (business logic layer or layers), and presentation layer. Here's a Wikipedia entry on N-Tier architecture, which is similar in the concept of separation of concerns, but has more to do with distributed systems than application architecture: http://en.wikipedia.org/wiki/Multitier_architecture

    Then, once you've got an idea how N-Tier separates layers of development, go read up on ActiveRecord, which is the ORM model most commonly used for the "Model" part of the MVC pattern. Here: http://en.wikipedia.org/wiki/Active_record. Better yet, also read up on ORMs in general: http://en.wikipedia.org/wiki/Object-Relational_Mapping, and of course, if you want to get more in depth, go read up on the roots of the ORM - the Data Access Layer (DAL): http://en.wikipedia.org/wiki/Data_access_layer

    Then, once you've read up on that, look into the PHPTemplate theme engine to get an idea of how the Views work. My example above should give you enough of an idea, though... it's simple creative use of buffering, variables, and includes to pre-render content then insert it into the view.

    THEN you're ready to dig in to MVC.

    Or you can just go download Cake, CodeIgniter, or Zend, and get coding in MVC today!

  9. #28
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Quote Originally Posted by smoseley, post: 223545
    Well, MVC is a complicated concept because it's an OO paradigm, and a very complex one at that, rooted in a long history of application architecture. All of which means you need to understand OOP and the roots of MVC if you really want to understand how and why it works the way it does.

    Caveat: you don't need to know how an MVC works in order to use one... but if you want to be a ninja, you should learn this stuff.

    I tried to simplify the View & Controller concept in my example above to very basic file-based scripts. I thought that would be a good intro for you guys. It's as simple as determining what "resource" the user is requesting and translating that to a "controller" (in the case of my example above, a php script in your "pages" folder).

    If you want to understand MVC in depth, you'll need to learn PHP OO first. You should start here: http://php.net/manual/en/language.oop5.php for language reference, and maybe go read some tutorials on OOP, like this one: http://www.osnews.com/story/6788, or this Wikipedia entry: http://en.wikipedia.org/wiki/Object-...ed_programming

    Then, once you've learned OO, go read up a little bit on multi-layer application architecture, which is where MVC is rooted. I can't find any good Multi-layer architecture articles, but the basic concept is separation of an application into 3+ layers: DAL (data access layer), BLL (business logic layer or layers), and presentation layer. Here's a Wikipedia entry on N-Tier architecture, which is similar in the concept of separation of concerns, but has more to do with distributed systems than application architecture: http://en.wikipedia.org/wiki/Multitier_architecture

    Then, once you've got an idea how N-Tier separates layers of development, go read up on ActiveRecord, which is the ORM model most commonly used for the "Model" part of the MVC pattern. Here: http://en.wikipedia.org/wiki/Active_record. Better yet, also read up on ORMs in general: http://en.wikipedia.org/wiki/Object-Relational_Mapping, and of course, if you want to get more in depth, go read up on the roots of the ORM - the Data Access Layer (DAL): http://en.wikipedia.org/wiki/Data_access_layer

    Then, once you've read up on that, look into the PHPTemplate theme engine to get an idea of how the Views work. My example above should give you enough of an idea, though... it's simple creative use of buffering, variables, and includes to pre-render content then insert it into the view.

    THEN you're ready to dig in to MVC.

    Or you can just go download Cake, CodeIgniter, or Zend, and get coding in MVC today!
    wow that's a pretty big list of things to learn... hopefully this wont take forever
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  10. #29
    Senior Member peezybro's Avatar
    Join Date
    Aug 2011
    Location
    El Cajon, California
    Posts
    229
    Member #
    28822
    Liked
    6 times
    o dam lol, I think i will past on that method for now and start learning wordpress first lol
    "ON TIME, ON TARGET, NEVER QUIT"


  11. #30
    Senior Member MHometchko's Avatar
    Join Date
    Oct 2011
    Posts
    106
    Member #
    29723
    Liked
    19 times
    INTERESTING!


Page 3 of 6 FirstFirst 1 2 3 4 5 ... LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:42 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com