How to write the engine for the website

How to write the engine for the website

Times of the static websites and also the websites which are only partially providing a dynamic content irrevocably left. Server capacities allow to use CMS for creation even of small Internet resources. Today the set of free CMS with functionality for every taste is available. Many of them are developed by the teams of professionals and very well proved. However and today a great number of enthusiasts seek to write the engine for the website from scratch.

It is required to you

  • - Internet access;
  • - modern browser.

Instruction

1. Plan functionality of the engine. Answer the questions of the general plan concerning assignment and like the developed product. Be defined whether there will be it universal CMS, or something more narrowly targeted (the blog, the platform for online trade, the community site, the news portal). Answer specific questions of rather required opportunities. Think whether the gallery of images, a forum, a news feed, file archive, etc. is necessary on the website. Whether the similar functionality should be strictly integrated into a kernel, or it can be presented in the form of modules of expansions.

2. Think over architecture of the engine. As a rule, the architecture of modern CMS follows a MVC paradigm. At this stage it makes sense to study already existing solutions which there is very large number.

3. Define technologies on the basis of which the main functionality of a product will be implemented. Select a programming language. The standard de facto for development of CMS is PHP now. Though it is possible to consider use of ASP .NET, Java, Python. Select technologies of data storage. As a rule, modern CMS use databases as the main storage location of information. But in some cases it is possible to rely on the file system. Select other technologies which will be required for operation of the engine (libraries of processing of graphics, spellchecking, cryptographic modules, etc.).

4. Study documentation on products and technologies on the basis of which the project will be constructed. Define expediency of use of each product or technology. If necessary make adjustments in the list of technologies, find acceptable alternatives.

5. Make the plan or the specification on development. Even if in development it is not planned to involve anybody, except the initiator of the project, following to the accurate plan or paragraphs of the specification will save a large number of time and will make work much more effective. At start of the project it makes sense to make a task for development of a kernel (and, perhaps, test modules) CMS with the minimum functionality.

6. Implement a part of the project according to earlier developed specification.

7. Make testing of the functionality implemented on the previous step. Reveal errors. Make the list of errors and a task for completion. Assign to errors correction priority indicators. Sort errors according to their priority.

8. Correct the found errors. Perhaps, at this stage other problems in system operation will be revealed. Supplement the list of errors, make correction of each of them.

9. Define need of further completion or modification of the engine of the website. Answer a question of compliance of the available functionality earlier planned, on satisfaction of operation parameters of a system to the shown criteria of quality. If further development is required, pass to a step 5 for commission of the following iteration of development of a product.

Author: «MirrorInfo» Dream Team


Print