These extra sessions are optional 60-minute mini lectures that follow every Friday's standard lecture. Each extra session covers a new topic we didn't have time to talk about in the main class, or goes deeper on an existing topic.
No extra session this week.
This week we discussed the jQuery library for JavaScript, which provides a set of helpful functions for doing DOM manipulation and event handling more easily and concisely.
This week we discussed Object-Oriented PHP, the Model–View–Controller design pattern, and an application of the MVC pattern in a Web Application Framework called CakePHP (which takes the same design approach as Ruby on Rails, except it’s written in PHP instead of Ruby).
Turn in EC2 Extra Credit 2 (CakePHP Blog)
Due , 11:30pm.
|
|
Specification: |
Continue and finish the CakePHP blog tutorial we began in the session, located here: http://book.cakephp.org/2.0/en/getting-started.html Complete all sections, with the exception of the “Optional Configuration” section, in which you can skip the security salt and cipher seed. You will likely still need to do the last instruction in that section, modifying permissions of the app/tmp directory. However, to accomplish that, do the following instead:
Lastly, at the end of the tutorial it links to some suggested follow-up reading. Complete portions of the Layouts tutorial, located here: http://book.cakephp.org/2.0/en/getting-started.html Specifically, do the following:
|
Scoring: |
This optional assignment will be worth one (1) make-up point toward your homework grade. That is, it can take the place of a lost point, but it cannot earn you more than 100% for your overall course homework grade. It will be graded all or nothing — so if you are missing any of the required components, you will not be awarded the point. |
This week we discussed more SQL commands (INSERT, UPDATE, DELETE) and more advanced form validation.
Note: We were unable to discuss URL rewriting in this session, but the issue that prevented it has now been fixed. Please feel free to create your own .htaccess files with mod_rewrite directives as discussed in the lecture slides.
No extra session this week.
Turn in EC1 Extra Credit 1 (Responsive HW2)
Due , 11:30pm.
|
|
Specification: |
Adapt your HW2 solution to incorporate Responsive Web Design features. Specifically:
|
Scoring: |
This optional assignment will be worth one (1) make-up point toward your homework grade. That is, it can take the place of a lost point, but it cannot earn you more than 100% for your overall course homework grade. It will be graded all or nothing — so if you are missing any of the required components, you will not be awarded the point. |
No extra session this week.