Day 1: Building a Dynamic, Data-Driven WebsiteIntroduction:Today you are going to learn some of the fundamental concepts behind modern website design. While there are other advanced technologies available to today's web developers, what you will learn and experiment with today is enough to create fashionable, professional, and functional websites. Your specific task is to choose an e-commerce application on which to work such as an online bookstore, online auctions, or a flight reservation system, and progressively design and implement the application. Links to Student Sites
Exercise:To learn and employ the languages and technologies used in modern web development to create your own dynamic, data-driven website. Each of these lab computers has been loaded with
software to turn them into web servers.
Steps:
Step 1: Develop an Idea for a WebsiteThis is the most important step!It sets the stage for the remaining steps.Pick something that interests you! You should take
a quick look at the rest of the steps to get a feel
for what's expected of your website.
Think about how people will use your website, how it will look, what features you will need. Think broadly - you can always fine tune your idea as you go along. Goal: Write a 5-10 sentence paragraph describing your idea. You may also want to draw mock-ups of a few pages to get a better feel for the layout of your site. Throughout the rest of the steps, we have two
running examples: A bookstore and a supercomputer
database.
Step 2: A Simple Static WebpageThe first step to creating a webpage is learning HTML. Goal: Create a simple "Welcome!" page or something similar. Here are some guides to start you off:
Both w3schools and HTML Jalfrezi are excellent references for many web development topics. Back to topStep 3: Add Site Structure and Link Multiple PagesNow that you know how to create a single page, you can start building the rest of your website. Goal: Create multiple pages for the various parts of your website and link them together. Examples:
Step 4: Factor Content from Presentation using CSSAs you may have seen in the HTML
tutorials, it is possible to add style and
formatting properties to HTML tags.
Goal: Add style and formatting to your website using CSS Examples:
Guides: Back to topStep 5: Adding Simple Dynamic Features using JavaScriptGoal: Add a dynamic aspect to your website using JavaScript. Examples:
Guides: Back to topStep 6: Java AppletsGoal: Add a Java applet to your website. Examples:
Repositories:
Once you have found an applet you like, view the
source of the page and search for
If everything worked, the applet should now load in your webpage. Back to topStep 7: Processing Forms using PHPGoal: Add a form to your website and process it using PHP. Note: in the following examples, you can examine the source of the examples to see how they work. Specifically,
Examples:
Guides: Back to topStep 8: Maintaining State between Progressive Interactions using PHP SessionsGoal: Use PHP sessions to build a shopping cart or similar function. Examples:
Step 9: Creating a Database using MySQLGoal: Create a database, fill it with data appropriate for your website, and run some queries on it. The administration page for the DBMS on this
computer is at: http://localhost/phpmyadmin/
Guides: Back to topStep 10: Accessing your Database using PHPGoal: Add MySQL interaction to your webpage. Examples:
Step 11: Extending Firefox using XULIn this step you will create a toolbar for Firefox using XUL (XML User Interface Language). Goal: Create a simple Firefox toolbar. We have provided a template for you to use that takes care of some of the initial setup. Template: Example Toolbar You can try out the Example Toolbar by selecting
it in To use this template to create your own toolbar:
To install the toolbar so it shows up in Firefox:
Any time you make changes to your toolbar, you have to restart Firefox so the changes take effect. Guides: Back to top
|
