Join Drew Falkman for an in-depth discussion in this video Symfony app walkthrough, part of MVC Frameworks for Building PHP Web Applications (2015).
- In this movie, I wanna give you an idea…of what it might be like to develop,…using the Symfony framework.…First, we'll take a look at the code…and the organization of it…and see how Symfony handles routing…in the MVC pattern.…After that, we'll take a quick look at the app console,…to see how we can do some tasks,…using their command line interface.…If you're following along with the movies,…you've probably already started…your PHP server with Symfony.…If not, let's go ahead and start it up now.…We're gonna go into the Documents/sandbox/,…and then we created an application called Test.…
Now, to start it, you simply type in…php app/console server:run.…This window now becomes a server window.…It is no longer a command line interface.…Let's take a look at the front page…of what we just created.…So, here's the Symfony server,…all set up and installed.…You can see there's some debugging tools…down here at the bottom,…and there's a nice little demo…that you can go in and follow along with.…
Let's take a look at what's happening in the code.…
- Why use a framework?
- Introducing MVC-framework concepts
- Examining each framework's components
- Setting up the software
- Walking through sample apps built in each framework
- Comparing frameworks
Skill Level Intermediate
Q: When setting up Composer on my Windows machine, I'm asked to specify where php.exe is located. Where can I find it?
<div>A: Depending on how you installed PHP, the location can vary. If you're running WAMP on your Windows machine, the executable is located at: </div><div> </div><div><span style="font-family: Courier;">C:\wamp\bin\php\php5.5.12\php.exe </span></div><div>(This path will change slightly if you're running a different version number of PHP.)</div><div> </div><div>If you're running XAMPP on your Windows machine, the executable is located at:</div><div><span style="font-family: Courier;">C:\xampp\php\php.exe</span></div><div> </div>
Q: Why doesn't my folder structure in Laravel match what's on screen?
A: Version 5 of Laravel was released after the recording of this course. The core information in this course is still valid, but the Laravel's main files have been reorganized. For more details on how this reorganization has changed the structure of Laravel files, please see <a href="https://mattstauffer.co/blog/laravel-5.0-directory-structure-and-namespace" target="_blank" rel="nofollow">https://mattstauffer.co/<wbr>blog/laravel-5.0-directory-<wbr>structure-and-namespace</a>.
Q: Why isn't mcrypt prepped for PHP when I run the phpize command?
A: If you're having trouble setting up mcrypt, you may need to change the directory from which you run the phpize command. You'll want to navigate to the /ext/mcrypt/ folder within the folder for the version of PHP that you're running.
1. About PHP Frameworks
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.