- FuelPHP Application Development Blueprints
- Sébastien Drouyer
- 330字
- 2021-07-23 20:25:52
Development process of a FuelPHP application
The development process of a FuelPHP application generally contains the steps shown in the following image:

- Install FuelPHP: Since we are using this framework, this first step is quite obvious.
- Config (configuration): At the beginning, you will generally need to specify how to connect to the database and which package you will use. Later on, you might also need to create and use your own configuration files to improve the maintainability of your application.
- Scaffold: The oil command line of FuelPHP allows you to easily generate code files ready to be used. This step is not necessary, but we will often use this functionality in this book because it really speeds up the implementation of your application.
- Dev (development): This is where you, as a developer, step in. You customize the generated code to get exactly what you want. When you want to add new features (for instance a new model), you go back to the scaffolding step.
- Tests: Functional and unit testing are important if you want large applications to stay maintainable. When bugs are discovered, you go back to the development step in order to fix them. Unlike the other steps, we won't approach this subject in this chapter for the sake of its conciseness. It will be addressed in Chapter 5, Building Your Own RESTful API.
- Prod (production): Having a project working locally is nice, but the final objective is generally to publish it online. We will give you some directions about this step at the end of this chapter, but we won't get too much into the details, given the diversity of available hosting services.
Just to be clear, this is a very general guideline, and of course the order of the steps is not rigid. For instance, developers using the test-driven development process could merge the fourth and fifth steps, or a preproduction step could be added. The development process should only depend on each developer and institution's standards.
推薦閱讀
- iOS面試一戰(zhàn)到底
- ClickHouse性能之巔:從架構(gòu)設(shè)計(jì)解讀性能之謎
- Python從小白到大牛
- 小創(chuàng)客玩轉(zhuǎn)圖形化編程
- C# Programming Cookbook
- JavaScript 網(wǎng)頁(yè)編程從入門(mén)到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開(kāi)發(fā)視頻大講堂)
- Android 7編程入門(mén)經(jīng)典:使用Android Studio 2(第4版)
- 數(shù)據(jù)結(jié)構(gòu)習(xí)題解析與實(shí)驗(yàn)指導(dǎo)
- NoSQL數(shù)據(jù)庫(kù)原理
- Python 3 數(shù)據(jù)分析與機(jī)器學(xué)習(xí)實(shí)戰(zhàn)
- 石墨烯改性塑料
- Python Web自動(dòng)化測(cè)試設(shè)計(jì)與實(shí)現(xiàn)
- 數(shù)據(jù)科學(xué)中的實(shí)用統(tǒng)計(jì)學(xué)(第2版)
- Less Web Development Cookbook
- Elasticsearch搜索引擎構(gòu)建入門(mén)與實(shí)戰(zhàn)