Recommend this page to a friend! |
Classes of Slavko Srakocic | B12 PHP FW | fwphp/glomodul/mkd/01/001_instalac/z_pair_README.md | Download |
|
DownloadPair examplea skeleton project to use Pair PHP Framework easily Quick startInstallationChoose a name for your new project and create a new folder where to install Pair_example:
Now you can create a new project manually or by using Composer, that allows to easily update Pair framework. <a name="composer">Composer</a>You can ask Composer to create the project into your new folder. Composer download it. Launch a command-line terminal and create a new composer project named 2018.10.23J:cd J:\awww\www\zbig
NOT SO : <a name="manual-installation">Manual installation</a>
ConfigurationWhen launched http://dev1:8083/zbig/pair_user/Pair framework will check Username: slavkoss22@gmail.comPassword: xkF-XjO-BsO-wQ5Installer was deleted You can now use pair_user v1.0. Please login at url: /zbig/pair_userIn case you written something wrong in the
By creating different versions of Now it?s time to login using the account that have your email address as username and a strong 15 chars random password that?s shown at the installation end. http://dev1:8083/zbig/pair_user/tevent/ routes.php ???This base project allows a fast start to develop small to medium PHP applications like CRM or web-portals. With the addition of a few files more, here provided as sample, and an initial database structure, your web project will be up and running in a breeze. FeaturesThis basic project manages users authentication, creates new custom ActiveRecord classes and CRUD modules starting from a DB table by a magic module named ContributingIf you would like to contribute to this project, please feel free to submit a pull request. LicenseMIT Pairlight weight and versatile PHP framework, simple and fast, few frills, maybe none FeaturesPair implements Model-View-Controller pattern and a search friendly route logic. ActiveRecordPair base tables are InnoDB utf-8mb4. Pair allows the creation of OBJECTS RELATED TO DB TABLE using ActiveRecord class. Objects retrieved from the DB are cast in both directions to the required type (int, bool, DateTime, float, csv). See Automatic properties cast page in the wiki. In addition, each CLASS INHERITED FROM ACTIVERECORD supports many convenient methods including those for caching data that save queries. PluginsPair supports MODULES AND TEMPLATES AS INSTALLABLE PLUGINS, but can easily be extended to other types of custom plugins. The Pair?s Plugin class allows you to create the manifest file, the ZIP package with the contents of the plugin and the installation of the plugin of your Pair?s application. Time zoneThe automatic time zone management allows to store the data on UTC and to obtain it already converted according to the connected user?s time zone automatically. Log barA nice log bar shows all the details of the loaded objects, the system memory load, the time taken for each step and for the queries, the SQL code of the executed queries and the backtrace of the detected errors. Custom messages can be added for each step of the code. InstallationComposer
After having installed Pair framework you can get singleton object
If you want to test code that is in the master branch, which hasn?t been pushed as a release, you can use master.
If you don?t have Composer, you can download it. DocumentationPlease consult the Wiki of this project. Below are its most interesting pages that illustrate some features of Pair. Requirements| Software | Recommended | Minimum | Configuration |
| --- | :---: | :---: | --- |
| Apache | 2.4+ | 2.2 | comment mcrypt in : J:\awww\www\zbig\pairblog\installer\start.php J:\awww\www\zbig\pairblog\modules\selftest\viewDefault.php
ExamplesThe Pair_example is a good starting point to build your new web project in a breeze with Pair PHP framework using the installer wizard. ContributingIf you would like to contribute to this project, please feel free to submit a pull request. LicenseMIT |