This week we received the completed prototype store and we went through its processes. I also created the mock-up of my assignment website using html. My website is an online pets store selling pet accessories. I used CSS to style the entire web page. I am happy with the result and am now going to convert it to aspx in Visual Studio.
Thursday, March 25, 2010
Thursday, March 18, 2010
Week 6
This week we looked at hosting websites and the different features and packages that are available. We then created a short program that looked at inheritance and polymorphism. The program calculated the cost of a trip depending on what type of vehicle was selected.
Tuesday, March 16, 2010
Web Application Hosting
Minimum requirements for hosting semester 1 assignment:
- Shared Windows Server
- 3gb Web space
- 10gb Bandwidth
- Shared SSL Certificate
- Online FTP
- Located in Australia
- 10 email accounts each 100mb
- Phone and email support
- MS SQL 2005
- .NET Framework 3.5
- 6 month initial contract
Possible companies:
- Corporate Plan on Hosting Bay
- Business Plan on Netregistry
- Business Plan on Webcentral
- MyWebHost on Crazydomains with Microsoft Upgrade
Wednesday, March 10, 2010
Week 5
This week we continued our prototype store. We looked at how to create relationships between tables in our database, and also looked at the query builder in visual studio. We had to program the website to allow the user to select a product from the list of products that matched their already selected category. Once they select the product the productID is passed as a query string which then allows the detailed description of their selected product to be displayed. After that we had to create a master page and remake all the pages again to use that master page. The master page contained the main layout and visual effects that are on all the pages and the category list and the code to get the categories from the database.
Wednesday, March 3, 2010
Week 4
This week we looked at cookies and how they are used. Cookies are used to store variables in the users web browser, such as users login are shopping cart items etc. To create a cookie:
Response.Cookies("CookieName")("VarriableName") = Variable.
To retrieve data from the cookie:
Request.Cookies("CookieName")("VarriableName").
We then created a Global.asax page and explored what it does. To create it you use the add new item in visual studio and select Global.asax. The Global.asax page allows you to have parts of code that run only at specific points within the life of the website, such as when its initially created or when a session ends etc. We then talked more about arraylists and their properties and methods. We created a test array that utilized its properties and methods and a webpage to run it through. We then continued on with our prototype store. We created another class to get the products that match a category when one is selected. The results were shown in a grid view on the products page.
Response.Cookies("CookieName")("VarriableName") = Variable.
To retrieve data from the cookie:
Request.Cookies("CookieName")("VarriableName").
We then created a Global.asax page and explored what it does. To create it you use the add new item in visual studio and select Global.asax. The Global.asax page allows you to have parts of code that run only at specific points within the life of the website, such as when its initially created or when a session ends etc. We then talked more about arraylists and their properties and methods. We created a test array that utilized its properties and methods and a webpage to run it through. We then continued on with our prototype store. We created another class to get the products that match a category when one is selected. The results were shown in a grid view on the products page.
Subscribe to:
Posts (Atom)