Deprecated

Switch to lenkrad

On Dec 9th 2018 version 3 of the neoanPHP framework was brought to life under the name "neoan3".

With Lenkrad, everything we learned from this project found a new, modern approach to the neverending quest for a high-performance, yet easy-to-use all-purpose framework.

Support has ended on Dec 20th 2025, these pages are no longer maintained.

Models

Good old MVC

While the component based structure of neoan3 (and many other modern web frameworks) doesn't make it apparent, the layers follow a classical separation of model, view and controller. This is important for both reusability and security.

As such, only component controllers (and frames, but that's usually a bad choice) can access a model. You should always look at the data layer as independent construct and not place any business-logic in your models.

Using models (CRUD) Databases & migrations