NishchayFramework
From EverybodyWiki Bios & Wiki
Developer(s) | Bhavik Patel |
---|---|
Initial release | August 9, 2020 |
Repository | Nishchay Github |
Written in | PHP |
Engine | |
Type | Web framework |
License | New BSD |
Website | nishchay |
Search NishchayFramework on Amazon.
Nishchay is open source PHP framework release under New BSD for creating web applicaitons, REST API and more. Its actually open structure framework means it allow us to create any kind of application structure we want. This makes application to MVC, HMVC or anything else. Because of this Nishchay is structure independent.
Components[edit]
- Open structure allows to create any kind of application structure like MVC, HMVC and more by defining application structure in XML form.
- Routes are created in controller using annotation in doc comment defined on controller method. Developer can define custom path or path same as method name. These routes can be restricted to one or more HTTP methods.
- Routes can also be private which is useful for CRON jobs or making route deprecated.
- Supported databases are MySQL, PostgreSQL, MSSQL.
- Entity is a class presentation of database table which comes with data type, relation to another entity, deriving properties from related property or another related entity. It also have in buit encryption for PII data and also provides events like before & after insert, update and delete.
- Query builder to build query using various methods provided by Query class. Using query, developer can create complex queries, query based on complex joins and sub query.
- Entity Query is similar to Query builder but it works on entity class rather than database table.
- Maintenance modes makes application to goes into maintenance mode based on time range for daily maintenance, date range for future maintenance plan and browsers or callback methods.
- There are many kind of session available in nishchay framework. Such as ReadLimit which expires after its read limit is reached. TillNextRequest which expires after given next number of requests and more.
- Caching: Nishchay currently supports two type of caching server, memcached and Redis. Apart from this Query and Entity Query builder also internally supports both of these caching.
- Validations for requests using form builder or validation class, It also comes CSRF support which is enabled by default.
- REST API: Apart from Route's response type like JSON or XML. Nishchay also provides features like response filtering based on filed demand and secure service which requires token to access it.
- Console command are for creating controller, entity, this can be generated empty, CRUD or from predefined templates. Console commands also best for fetching application information like lists of routes, entities, events, controllers exists in an application.
- Console command also allows executing GET routes.
References[edit]
This article "NishchayFramework" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:NishchayFramework. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.