I find the web development tutorials less than satisfactory so I'm thinking about constructing a tutorial that is more representative to a real life situation where we have a fictitious company that is selling and marketing a limited set of products through their website, and we are to cover most of the aspects involved with such a scenario.
I assume that we use Python with all its libraries and the Django framework and it's using Postgresql for database interactions wherever and whenever that is necessary. All of these functionalities are set up and production ready, all we have to do is to dive into the coding and web design.
The tutorial that I have concocted:
-----------------------------------------
1a. I want to build a website that sells products A, B and C. Products A and B are standardized whereas product C is customizable. When ordering C, the user can chose between 3 different sizes, 5 different colors and an optional case where all changes but colors affect the price of C.
1b. All products have a certain set of attributes that is shown under four different types of fields/subfields; "overview", "technical details", "preview" and "reviews". The "technical details" lists the attributes of a given product in detail, a list of user submitted comments are shown under "reviews", and an overview with a brief description featuring images and perhaps a few video clips are shown under "overview". There is also a "preview" field showing condensed information about the product including a smaller thumb pic as presented in search results or other listing types. All attributes in these products are to be maintained in some kind of a database that an administrator can use to edit attributes or to add or remove certain products. It should be noted that some of those attributes should not be visible to customers. Attributes such as supplier, their prices, stock of suppliers.
2. The website has a search function that searches the query through all attributes of the products.
3. There is a database of users featuring shipping address and contact details, unique username and password for login. A user can add any of the products to cart and checkout, upon checkout, three different payment options are to be chosen and three different shipping methods.
4. When an order is confirmed, an email is sent to the user with confirmation and a unique order number. Orders and their quantities are maintained in a certain database.
5. A comment system that allows users to write comments about one of products A, B, C. This comment system is later to be replaced with a rating system where each user can rate 1. customer service, 2. satisfaction with shipping and 3. quality of product. All comments and in the future, their ratings should be maintained in a database of some kind.
6. Users should be able to upload video clips to the website showing how they experience the product from say a smartphone camera and let the website stream those clips publicly as Youtube or Vimeo. The submission comes with a brief description and an indication of what product the given user is experiencing. In the beginning, a simple transcoding library should suffice but later, some editing and effect/post-processing features are to be expected.
7. An online configurable app plotting the prices of a stock or something for a given period of time, or something else.
8. Incorporation of the ability to share certain elements of the website on social media such as Facebook, LinkedIn, Tumbler, Stumbleupon etc.
9. Build a simple administration console for different roles within the company, say webadmin, purchasing, dispatching/customer service and economy departments.
-----------------------------------------
Any ideas on how to start? I'll submit code of my progress if anyone is interested.
I assume that we use Python with all its libraries and the Django framework and it's using Postgresql for database interactions wherever and whenever that is necessary. All of these functionalities are set up and production ready, all we have to do is to dive into the coding and web design.
The tutorial that I have concocted:
-----------------------------------------
1a. I want to build a website that sells products A, B and C. Products A and B are standardized whereas product C is customizable. When ordering C, the user can chose between 3 different sizes, 5 different colors and an optional case where all changes but colors affect the price of C.
1b. All products have a certain set of attributes that is shown under four different types of fields/subfields; "overview", "technical details", "preview" and "reviews". The "technical details" lists the attributes of a given product in detail, a list of user submitted comments are shown under "reviews", and an overview with a brief description featuring images and perhaps a few video clips are shown under "overview". There is also a "preview" field showing condensed information about the product including a smaller thumb pic as presented in search results or other listing types. All attributes in these products are to be maintained in some kind of a database that an administrator can use to edit attributes or to add or remove certain products. It should be noted that some of those attributes should not be visible to customers. Attributes such as supplier, their prices, stock of suppliers.
2. The website has a search function that searches the query through all attributes of the products.
3. There is a database of users featuring shipping address and contact details, unique username and password for login. A user can add any of the products to cart and checkout, upon checkout, three different payment options are to be chosen and three different shipping methods.
4. When an order is confirmed, an email is sent to the user with confirmation and a unique order number. Orders and their quantities are maintained in a certain database.
5. A comment system that allows users to write comments about one of products A, B, C. This comment system is later to be replaced with a rating system where each user can rate 1. customer service, 2. satisfaction with shipping and 3. quality of product. All comments and in the future, their ratings should be maintained in a database of some kind.
6. Users should be able to upload video clips to the website showing how they experience the product from say a smartphone camera and let the website stream those clips publicly as Youtube or Vimeo. The submission comes with a brief description and an indication of what product the given user is experiencing. In the beginning, a simple transcoding library should suffice but later, some editing and effect/post-processing features are to be expected.
7. An online configurable app plotting the prices of a stock or something for a given period of time, or something else.
8. Incorporation of the ability to share certain elements of the website on social media such as Facebook, LinkedIn, Tumbler, Stumbleupon etc.
9. Build a simple administration console for different roles within the company, say webadmin, purchasing, dispatching/customer service and economy departments.
-----------------------------------------
Any ideas on how to start? I'll submit code of my progress if anyone is interested.