官术网_书友最值得收藏!

Chapter 2. Building a To-do List Application

We saw in the last chapter a few basics of the FuelPHP framework, but there is still a lot to learn to be comfortable with it. We will create here our first real-world application to dive a little bit deeper into the main FuelPHP features. We will create a to-do list application, a common training example when introducing frameworks. Again, it won't be a very complicated application, but this project will be used as a basis to introduce essential FuelPHP components.

By the end of this chapter, you should know the following:

  • What is a Entity Relationship (ER) diagram
  • What is an profiler and how to use it
  • How to use the Debug class
  • What is an Object Relational Mapper (ORM) and how to use it in your project
  • How to use the basic operations of Model_Crud and Model_Orm
  • The ORM relations
  • What are observers and how to use them
  • How to handle Ajax requests

We will assume here, that you have read Chapter 1, Building Your First FuelPHP Application, as the very basics of the framework have been explained there. We will also use JavaScript and jQuery for improving the to-do list user interface. Since this book is intended for intermediary web developers, we will assume you have some knowledge about these technologies. If this is not the case, don't worry, we will use them very lightly and you can find a lot of resources about these tools on the web.

主站蜘蛛池模板: 永年县| 祁阳县| 马公市| 巴林左旗| 凉城县| 定州市| 淮南市| 雷波县| 孙吴县| 宜州市| 乐都县| 宣城市| 惠水县| 湖口县| 海晏县| 齐河县| 北川| 东辽县| 城步| 南康市| 仪征市| 安龙县| 廊坊市| 英山县| 山西省| 曲阳县| 山西省| 合作市| 蓬安县| 扶绥县| 夏津县| 康平县| 宁安市| 武强县| 治多县| 阿坝县| 沅陵县| 化德县| 澄江县| 绥芬河市| 洞头县|