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

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.

主站蜘蛛池模板: 慈溪市| 鹤岗市| 焉耆| 恩平市| 南和县| 张家港市| 锡林郭勒盟| 河池市| 景泰县| 那坡县| 兰溪市| 海阳市| 和顺县| 九寨沟县| 蒲城县| 垦利县| 海兴县| 额尔古纳市| 银川市| 闸北区| 黄梅县| 屏东市| 达日县| 彭水| 固安县| 阳高县| 奉化市| 凤台县| 横峰县| 开封市| 武穴市| 确山县| 长寿区| 东方市| 蕉岭县| 花垣县| 绵阳市| 兴安盟| 内丘县| 乌鲁木齐市| 库伦旗|