Solved

Designing an architecture for a training website

Posted on 2014-10-28
1
126 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to count occurrences of each item in an array.

864 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now