Solved

Designing an architecture for a training website

Posted on 2014-10-28
1
139 Views
Last Modified: 2014-10-31
Hello,

I'm trying to design a website that would allow people to receive training through videos, there shouldn't be much traffic, here are the requirements:
- have hooks into YouTube API
- provide email updates
- allow users to take quizzes
- view/download PDF's

I'm using Django and MySQL to build this website, but I'm new to Django and I'm trying to figure out the best way to keep this site maintainable. I'd appreciate any suggestions on database system, or general django practices.

I'm going to be keeping each module isolated, and keep them loosely coupled; but are there any other practices that make a website more manageable?

Appreciate any help!
0
Comment
Question by:Errang Genevre
1 Comment
 
LVL 4

Accepted Solution

by:
Jernej Navotnik earned 500 total points
ID: 40410930
Dear Errang Genevre,

Well, to be honest, your question is quite broad, and hard to answer (and I know little of Django but have a bit of python knowledge), so my 5 cents are not here "to be accepted", just to give you some experience I've gotten in these past years, and someone else will probably be more on the spot.

1. Your application must work on a sheet of paper - if you catch my drift. Sketch, but do not "over-sketch", at first, keep things simple(r).  
2. Write down the application "plan" (or objects) from this sketch. This will give you quite an insight, where your building blocks will connect (if you will want to), and will also provide an insight what should come first. I've started a few times exactly on the the "wrong end"... :)
3. If you will work alone, it is important that you document what you write. If you'll work with a team, than this is even more important.
4. Write with caching in mind - as I said, keep it simple at first, but caching can come handy later (with python, you can do good caching, I am shure Django has somethings already built-in).
5. Not to repeat stuff, but try not to "hardcode" vars.
6. Make the most use of the framework you've chosen. I am not sure how to say this, but "It's easier to adjust yourself to work with the framework than to adjust the framework to work like yourself."
7. If needed, make good use of MySQL indexes and relations (FK) - It will enable you to do less checking in the code

That's about it. :)

Best of luck, Jernej
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ajaxSubmit is giving me an error 1 54
Google Analytics - viewing a page 10 54
asp web application 3 43
javascript form - error when hitting enter 3 28
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question