开发者

Where can I get a template website?

I want to benchmark the performance of a template website on a 开发者_JAVA百科modified kernel. I want to use a website template that has 2-3 tiers (frontend, database etc), logic to create users and some logic to store/modify data for each user. A quick search did not reveal any useful results as of yet.

I've little experience in web development and was hoping that stackoverflow can point me to something useful.


I would suggest taking a look at the Django framework:

http://docs.djangoproject.com/en/1.3/intro/

http://www.djangobook.com/en/2.0/

Django operates using a three tiered (Model, Template, View) design. The Model is the database access layer and will enable you to validate and store information about your users. The Template is the 'presentation layer' that will both determine the layout of your page through html, but has access to your view and its variables. The View is the portion that will contain all of the logic for the page - in a way it works as a median between your model and your template. The url your user visits will determine which view function you load.

If you are interested in the admin capabilities of the framework, take a look at:

http://www.djangobook.com/en/2.0/chapter06/


You could simply download and run one of the sample django applications like:

http://code.google.com/p/django-voting/ or https://github.com/scrum8/django-job-board/

Or you could just create a clean django project and turn on the admin console.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜