GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.flightphp.com — Learn About Flight - Learn - Flight - An extensible micro-framework for PHP Learn About FlightFlight is a fast, simple, extensible framework for PHP. It is quite versatile and can be used for building any kind of web application. It is built with simplicity in mind and is written in a way that is easy to understand and use—by humans and by AI coding assistants.
Core ComponentsRoutingLearn how to manage routes for your web application. This also includes grouping routes, route parameters and middleware. MiddlewareLearn how to use middleware to filter requests and responses in your application. AutoloadingLearn how to autoload your own classes. Folder case must match your namespaces—the skeleton uses RequestsLearn how to handle requests and responses in your application. ResponsesLearn how to send responses to your users. HTML TemplatesLearn how to render HTML with Twig (skeleton default), Latte, or other engines—not only the built-in PHP views. SecurityLearn how to secure your application from common security threats. ConfigurationLearn how to configure the framework for your application. Event ManagerLearn how to use the event system to add custom events to your application. Extending FlightLearn how to extend the framework to with adding your own methods and classes. Method Hooks and FilteringLearn how to add event hooks to your methods and internal framework methods. Dependency Injection Container (DIC)Learn how to use dependency injection containers (DIC) to manage your application's dependencies. Utility ClassesCollectionsCollections are used to hold data and be accessible as an array or as an object for ease of use. JSON WrapperThis has a few simple functions to make encoding and decoding your JSON consistent. SimplePdoPDO at times can add more headache than necessary. SimplePdo is a modern PDO helper class with convenient methods like PdoWrapper (Deprecated)The original PDO wrapper is deprecated as of v3.18.0. Please use SimplePdo instead. Uploaded File HandlerA simple class to help manage uploaded files and move them to a permanent location. Important ConceptsWhy a Framework?Here's a short article on why you should use a framework. It's a good idea to understand the benefits of using a framework before you start using one. Additionally an excellent tutorial has been created by @lubiana. While it doesn't go into great detail about Flight specifically, this guide will help you understand some of the major concepts surrounding a framework and why they are beneficial to use. You can find the tutorial here. Flight Compared to Other FrameworksIf you are migrating from another framework such as Laravel, Slim, Fat-Free, or Symfony to Flight, this page will help you understand the differences between the two. Other TopicsUnit TestingFollow this guide to learn how to unit test your Flight code to be rock solid. AI & Developer ExperienceFlight is built to pair with coding LLMs: Migrating v2 -> v3Backwards compatibility has for the most part been maintained, but there are some changes that you should be aware of when migrating from v2 to v3. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |