درس قبلی
Step 5: Separate PHP Logic From Presentation

Step 5: Separate PHP Logic From Presentation

Step 5: Separate PHP Logic From Presentation

قسمت 5
درس بعدی

درباره این درس

We'll touch on a slightly higher level topic in this episode, but only lightly. If you stick with it long enough, you'll begin to hear the phrase "separation of concerns." At our current skill level, this means we should give consideration to the fact that, at the moment, our PHP logic and HTML presentation are a bit too intertwined. Perhaps we can separate these concerns. Step 5 Homework: Play around with creating a new file, preparing a few variables, and then loading a separate "view" file to present the HTML.
دیدگاه های کاربران

× در حال پاسخ به: