gae-boilerplate documentation

此生再无相见时 提交于 2019-12-05 09:23:42

I will try to answer most of your questions below:

  • Should the boilerplate be used as a library or download and modify as needed?
    • You can modify it as needed based on your specific requirements.
  • How should the boilerplate be updated?
    • What do you mean?
  • What does each model do?
    • User and SocialUser are pretty self explanatory. LogVisit and LogEmail are used for auditing purposes.
  • Where should my templates go?
    • In the templates directory
  • Should I have a different routes file?
    • No, you can use the existing file for all your routes.
  • Should I derive my Handlers from BaseHandler?
    • It't not mandatory but I would recommend to do so. BaseHandler is very handy and provides a lot of good stuff.
  • In general, what things should I implement in my pages?
    • What exactly do you mean?

In general, you can use gae-boilerplate as a reference on top of which you will built your own project. Study the code step by step, try to figure out what is the purpose of each file and library used and how they work together. This way you will gain good knowledge of a lot of things like jinja templating, oauth2, etc.

Hope this helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!