INFO 344 Web tools and development

Download Report

Transcript INFO 344 Web tools and development

INFO 344
Web Tools And Development
CK Wang
University of Washington
Spring 2014
PA#1 has a lot of setup
You really should take the time to play around with it,
Read online, understand everything till you get it right.
That’s the learning.
This makes a big difference in tech companies if you
come in able to set things up/learn by yourself, it’s
huge.
Setup is a great skill. If you can learn to figure setting
up stuff, you’re more likely to introduce things to
everyone in your team, become the lead/owner.
WAMP
• Should already be there
• If not, please install now
• Local Hosting!
• *do not override the index.php included in WAMP*
Eclipse
IDE = Integrated Development
Environment, aka – software
used to do coding
Directory structure/files
Source code
Highlighting to make it easy to
read code
Auto complete & error checking
Use this to do PA#1
“Zend Eclipse for PHP devs” –
google it to find the URL to
download
Eclipse
• Please open Eclipse and let’s write some code.
• Read user input (HTTP GET), let this be n
• Output even numbers starting from 2…n
• http://localhost/getEvenNumbers.php?n=21
Done! Let’s check-in our code!
GitHub
• Everyone has this?
• Add me: chunkaiw
• Add Frank: xyx2011
GitHub
• Software as a Service (SaaS)
• All programmers need this, waste of time to
setup, just use GitHub!
• Backs up all versions of code check-ins
• Let’s try downloading GitHub client and checkin your getEvenNumbers.php
phpMyAdmin
• MySQL admin page written in PHP
• This will save your world
• Only useful if it’s actually connected : ) so let’s
connect it to a MySQL instance!
• Open http://localhost/ and select phpmyadmin
AWS RDS
• What is AWS?
– Amazon Web Services: collection of web services
to provide web infrastructure at a low cost
• What is RDS?
– Relational Database Service: a database in the
cloud. Relational vs. NoSQL = I’ll talk about this
next week.
Setup AWS RDS
• Follow instructions on PA1
– Setup AWS free account
– Setup RDS account
• Let’s Connect!!!
Setup phpMyAdmin
to connect to your RDS instance!
How? You need to figure this out!
Hint: search on Google!
Questions?