Week4 office hours

890 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
890
On SlideShare
0
From Embeds
0
Number of Embeds
617
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Week4 office hours

  1. 1. Week 4 Office Hours notesWeek 4 Office Hours notes September 20, 9pm
  2. 2. Course BusinessCourse Business• After Saturday 3 weeks left –SSaturday 10/1 d 10/1 – Saturday 10/8 – Class done – all badges awarded 10/15!• Check MyGrades for your progress – Remember to post final assignment in Grade  Center – Add your Badge work to the Student Gallery Page
  3. 3. Endorser BadgeEndorser Badge• Yes I now realize not everyone will be able to Yes, I now realize not everyone will be able to  earn that one: – The requirement is removed The requirement is removed. – But, as you have all benefited from being  endorsed, please keep up the collaborative spirit. endorsed please keep up the collaborative spirit – What can we recognize the hard work of those  who, because of timing, do not get the chance to  who, because of timing, do not get the chance to earn the endorser badge?  
  4. 4. New Badge ProposalNew Badge Proposal• Sisyphean Badge (Participation) – “As a punishment from the gods … King Sisyphus was made  to roll a huge boulder up a steep hill, but before he could  reach the top of the hill, the rock would always roll back  p , y down, forcing him to begin again.  The maddening nature  of the punishment was reserved for King Sisyphus” and working on web programming can often  and working on web programming can often have a similar feeling. – http://en wikipedia org/wiki/Sisyphus http://en.wikipedia.org/wiki/Sisyphus
  5. 5. Sisyphean Badge PROPOSALSisyphean Badge PROPOSAL• For anyone with the persistence of Sisyphus: For anyone with the persistence of Sisyphus: – Nomination to be made by an existing Endorser  badge holder badge holder – 2nd nomination from existing Endorser badge  holder – Nominee must actually complete the badge that  they are struggling with y gg g – Will be awarded in lieu of the Endorser Badge – it  is one or the other – not both.  
  6. 6. PROPOSAL? Do you agree?PROPOSAL? Do you agree?• If there are no objections give me a day or so If there are no objections, give me a day or so  to get it posted• 10 pts 10 pts.• Comments? Feel free  email any concerns/ il / questions.
  7. 7. Working with PHP and MySQL Database  ApplicationsHTMLjQueryCSS PHP SQL
  8. 8. Used by:Used by:• WordPress• Drupal• Facebook ( l b k (at least at first) fi )• Flickr• Other web‐based applications• Other content management systems Other content management systems
  9. 9. Web Hosting accounts all offer some type of web‐based Control Panel
  10. 10. To work DIRECTLY on the Database Server use phpMyAdmin
  11. 11. 3 Really useful SQL statements3 Really useful SQL statements• SELECT SELECT column_name(s) FROM table_name• INSERT INSERT INTO table_name (column1, column2,  column3,...) , ) VALUES (value1, value2, value3,...)• UPDATE UPDATE table_name SET column1=value, column2=value2,... WHERE some_column=some_valuehttp://www.w3schools.com/sql/default.asp
  12. 12. Working with PHP and MySQL Database  ApplicationsHTMLjQueryCSS PHP SQL
  13. 13. SELECT in phpMyAdminSELECT in phpMyAdmin
  14. 14. INSERT in phpMyAdminINSERT in phpMyAdmin
  15. 15. UPDATE in phpMyAdminUPDATE in phpMyAdmin
  16. 16. 1.  Set Database connection 1. Set Database connectionNow in PHP
  17. 17. Working with PHP and MySQL Database  ApplicationsHTMLjQueryCSS Which database? PHP Login/password SQL
  18. 18. 2. Fetch the data from a table 2. Fetch the data from a tableNow in PHP
  19. 19. 3. Display results 3. Display resultsNow in PHP
  20. 20. 4. Insert some new data 4. Insert some new dataNow in PHP

×