My first Python Web development Framework (3)--How do I get started?

Source: Internet
Author: User

Small white and small U.S. companies after several contact negotiations, finally outsourcing signed down, ready to start a big game. But small white because not too many project experience, learned Python understand the basic syntax of Python, in the company followed by you have done simple functions, but also some HTML and jquery, the database smattering, it seems to complete this project is not an easy thing. Think of these small white suddenly head are big up, want to open dry but not start, so can only find to their own very care of the department boss consult.

Introduction: Old vegetables, department boss, it old migrant workers, has more than 10 years of development experience in the Code of Agriculture, has done a variety of projects, development experience is very rich, is a warm hearted help people.

  Little white: boss help!!!

  Old food: What happened this time?

  Small white: I recently signed a business Web site outsourcing, to open up to start, do not know how to do, help pointing.

  old dish: no wonder see you recently mysterious, what is the project, say listen to.

  Small white: is a food company's corporate propaganda site, there is a company introduction, product Center and contact us three columns, there is a simple backstage can edit the contents of these columns online, already according to your previous requirements, out of a solution to confirm and signed the contract. Boss you know my technical base is weak, then an impulse after the next, now do not know how to start.

  old dish: Well, this is the most common outsourcing project, as I have told you before. Because you do not have a complete project experience, so it is normal to start, the following I would like to do this project, you have to do what the preparation, and then one item to implement.

First of all, you need to understand each other's needs, understand what the project is to do, what needs to be implemented, this step you have completed.

Secondly, according to the requirements of a plan, which must include the project to achieve the function and prototype (interface design), and the other party to confirm the plan, preferably signed with the contract seal, to ensure that in case of the back-end of the case, and if the design of the friend to do design is easy to produce results, will not rework, the contract signed , this step of the programme should also be of little concern.

Then, you need to choose what language and database to use and choose the appropriate server based on your ability and the requirements of each other. For example, you are most familiar with the python, then your preferred development language must be familiar with, or encounter some pits you can not fill, of course, you do not know what development language is not very familiar, you may find a person who can help you pits the line. And the database is the choice and the development of the language to match the line, such as PostgreSQL or MySQL are ok. The server, of course, chooses Linux, and Python runs more stably on Linux. Once you've chosen your development language, you'll have to install your own computer in the appropriate development environment ( Portal: Python development Environment Building )

Then is the front-end of the production (the prototype to HTML+CSS+JS), generally professional things to the professional staff to do, front-end page design and production in general, to professional designers and front-end developers will be more reliable point, of course, their own implementation is no problem, more than a chance to learn. If you do, you can choose bootstrap, make the page effect will be more beautiful, based on your entry level, you can use the H-ui front-end frame This people developed, lightweight, compatible, simple and flexible, completely free front-end framework. It is easy to get started and there is no copyright charge issue. Of course, in order to support the author, it is recommended that the project receives donations to support the author, after all, free open source is not easy.

such as the front-end page and the Background Management system page are made, and then to do is the database design, you based on the functionality of your prototype and the field of the display, to consider what data tables and fields to record the content.

Once you have done this, you can go to the last step before development and choose what development framework to use. Pyhon more well-known web development Framework is Django, a variety of functional plug-ins have, but it is heavier, like you do this kind of lightweight enterprise Web site, it is recommended to use bottle this minimalist web development framework to achieve is better, the advantage is that you can build your own development framework from scratch , free customization function, the living spirit is convenient, can grow quickly. The downside is that you're going to bump into a lot of pits, of course. I think this is also a very good advantage, it allows you to quickly master the use of Python skills. You can refer to some of my Python code and try to build your own development framework yourself.

The last is to open as soon as possible, early completion of early testing.

After listening to the eldest brother, the little rookie suddenly felt a lot of clear mind, although some still do not understand, but the basic steps and key records are understood, and so on after work back to try.

......

Spent a week or so, and finally finished the front-end HTML production. ( Click to download front-end HTML)

Note: The front-end design and production does not belong to this article to explain the content, so skip directly, above is already produced a good front-end HTML download package, you can download directly.

Allempty
Source: http://www.cnblogs.com/EmptyFS/
Interested friends can Gaga Python development QQ Group : 669058475, we discuss together. If you have a problem, you can ask questions in the group, of course, I usually work is very busy not necessarily timely reply.

This article is allempty original, welcome reprint, but without consent must retain this paragraph statement, and in the article page obvious location to the original link, otherwise reserve the right to pursue legal responsibility.

My first Python Web development Framework (3)--How do I get started?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.