You can edit almost every page by Creating an account and confirming your email.

NishchayFramework

From EverybodyWiki Bios & Wiki





Nishchay
Developer(s)Bhavik Patel
Initial releaseAugust 9, 2020; 5 years ago (2020-08-09)
RepositoryNishchay Github
Written inPHP
Engine
    TypeWeb framework
    LicenseNew BSD
    Websitenishchay.io

    Search NishchayFramework on Amazon.

    Nishchay is an open source PHP framework released under New BSD for creating web applications, REST APIs and more. Its actual open structure framework means it allows us to create any kind of application structure we want. This makes applications adaptable to MVC, HMVC or anything else. Because of this, Nishchay is structure independent.

    Components

    • Open structure allows creating any kind of application structure like MVC, HMVC and more by defining application structure in XML form.
    • Routes are created in controllers using annotation in doc comments defined on controller methods. Developers can define custom paths or paths the same as method names. These routes can be restricted to one or more HTTP methods.
    • Routes can also be private, which is useful for CRON jobs or making a route deprecated.
    • Supported databases are MySQL, PostgreSQL, MSSQL.
    • An entity is a class presentation of a database table which comes with data types, relations to another entity, deriving properties from related properties or another related entity. It also has built-in encryption for PII data and provides events like before & after insert, update and delete.
    • A query builder is used to build queries using various methods provided by the Query class. Using a query, developers can create complex queries, queries based on complex joins and subqueries.
    • Entity Query is similar to a Query builder but it works on entity classes rather than database tables.
    • Maintenance modes allow applications to go into maintenance mode based on a time range for daily maintenance, a date range for future maintenance plans and browsers or callback methods.
    • There are many kinds of sessions available in the Nishchay framework. Such as ReadLimit which expires after its read limit is reached. TillNextRequest which expires after a given number of requests and more.
    • Caching: Nishchay currently supports two types of caching servers, memcached and Redis. Apart from this, Query and Entity Query builders also internally support both of these caching systems.
    • Validations for requests using a form builder or validation class. It also comes with CSRF support which is enabled by default.
    • REST API: Apart from Route's response types like JSON or XML, Nishchay also provides features like response filtering based on field demand and secure services which require a token to access them.
    • Console commands are for creating controllers, entities, which can be generated empty, CRUD or from predefined templates. Console commands are also best for fetching application information like lists of routes, entities, events, controllers existing in an application.
    • Console commands also allow executing GET routes.

    References


    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.