Posted on Nov 29th, 2014
Eaglehorn is an open source, mini Framework used to build dynamic websites. In Eaglehorn, the application layer is separate from the core framework. This not only helps you to install the framework easily but also helps you to update the core independently.
It has been built following all the PSR standards and it uses Composer as a pre-requisite. For those, who are unaware of Composer, I strongly recommend them to know this first.
Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.
Features of Eaglehorn:
- Uses PSR-0, PSR-1, PSR-2, PSR-3 and PSR-4.
- Allows Unit Testing
- Powerful Router to create beautiful URL’s. You can also route parameters with wildcards and conditions.
- Template rendering with custom views
- Inbuilt Query debugging
- Uses Dependency Injection
- Error handling and debugging
- Extensive documentation
The code is well commented and if you feel like exploring the code to see how it works, it wont be difficult. The main aim of developing this framework was to make sure it provides solid boost in the development by keeping the framework learning curve low. Its suited for any kind of application, big or small.
How to contribute:
Eaglehorn provides different features using assemblies and workers.
Assemblies are multiple files, grouped inside a folder for doing a specific task. For example, phpMailer, paypal, shopping cart and so on.
Workers are single independent files, for doing a specific task. For example, time handling, session handling, pagination and so on.
You can contribute by forking the project and creating assemblies and workers. The Eaglehorn project is hosted on Github.
Eaglehorn Application –
https://github.com/ajaxtown/eaglehorn (Application which uses the framework as a dependency)
Eaglehorn Framework –
https://github.com/ajaxtown/eaglehorn_framework (This is the core framework)
Who should use:
Eaglehorn can be used by anyone who has decent knowledge on OOPS and a good base on PHP. If you have never used a framework, this can be a good start. The concepts are easy and well documented. I am always approachable for feedbacks and suggestions.
Ad-sense account reactivatedDependency Injection in PHP