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

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.

主站蜘蛛池模板: 剑川县| 偃师市| 咸阳市| 武陟县| 绵竹市| 雷州市| 桦南县| 正安县| 新安县| 安义县| 南召县| 红安县| 慈利县| 平原县| 江源县| 东城区| 都江堰市| 庆城县| 廉江市| 长治市| 梁河县| 宿迁市| 五常市| 安阳县| 咸阳市| 明水县| 景东| 巴南区| 承德市| 盐边县| 华亭县| 建阳市| 普定县| 同心县| 阳高县| 尤溪县| 广安市| 商河县| 揭东县| 佛坪县| 南郑县|