Part 2

849 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
849
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Part 2

  1. 1. Loose Ends <ul><li>Anton’s World </li></ul><ul><ul><li>http://www.deinega.com/baws </li></ul></ul><ul><li>An issue you may have seen… </li></ul>Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  2. 2. Has anyone seen this… Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  3. 3. What is going on? <ul><li>With current versions of PHP V5.3.8? and above, undeclared variable checking was implemented. [XAMPP Mac PHP V5.3.1 – not a problem] </li></ul><ul><ul><li>Good programming tip : You cannot/should not use a variable before initializing it. </li></ul></ul><ul><li>Look at the original code. </li></ul><ul><li>Look at the “better” code (bugs resolved). </li></ul><ul><li>Thanks to Jim for running that down. </li></ul>Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  4. 4. Assigned Homework <ul><li>Exercise 2-2, Enhancing the Future Value Application, p. 91 of the PHP & MySQL text. </li></ul><ul><li>Download Netbeans IDE </li></ul><ul><ul><li>Load project or two </li></ul></ul><ul><ul><li>Improve your skills! </li></ul></ul><ul><li>Debug the timestable.php </li></ul><ul><li>Send the completed homework to mshrage@snet.net </li></ul>Murach's PHP and MySQL, C2 © 2010, Mike Murach & Associates, Inc. Slide
  5. 5. HW: Timestables.php <ul><li>Who did the homework? </li></ul><ul><li>NetBeans </li></ul><ul><ul><li>Comments? </li></ul></ul><ul><ul><li>Thoughts? </li></ul></ul><ul><li>There was nothing wrong with timestables.php </li></ul><ul><ul><li>Perhaps there was a caching problem </li></ul></ul>Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  6. 6. HW: Future Value Enhancements <ul><li>Testing the application </li></ul><ul><ul><li>On your own </li></ul></ul><ul><li>Enhancing the validity checking </li></ul><ul><ul><li>Note the original approach versus a different approach </li></ul></ul><ul><ul><li>Should initialize our variables while we are there </li></ul></ul><ul><ul><li>Add interest rate less than 15% check </li></ul></ul><ul><ul><li>Add the date </li></ul></ul>Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  7. 7. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  8. 8. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  9. 9. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  10. 10. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  11. 11. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  12. 12. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  13. 13. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  14. 14. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide I have not found the Change Password link from the Home page.
  15. 15. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  16. 16. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide Let’s do this! And look at the script
  17. 17. <ul><li>Let’s look at the results of the script execution… </li></ul>Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  18. 18. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide
  19. 19. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide Click the Browse icon…..
  20. 20. Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide Congratulations! You just ran your first SELECT query!
  21. 21. Homework <ul><li>Verify that you have installed the Murach databases correctly </li></ul><ul><li>Begin to explore the Guitar Shop </li></ul><ul><ul><li>Chapter 20 application </li></ul></ul><ul><li>Read Chapter 4 and 5 in the PHP_MySQL book </li></ul><ul><li>Read Chapter 2 in the Javascript book </li></ul><ul><li>Note: We did not get this far. This will be due not next week but the week after…. </li></ul><ul><ul><li>P.122, Exercises 8, 9, 10, 11, 12, 13 </li></ul></ul>Murach's PHP and MySQL, C3 © 2010, Mike Murach & Associates, Inc. Slide

×