ANJY - Dynamic Web Server
Introduction


Let's explain why do we need ANJY server.
How standard servers does work?
Your request goes to apache / nginx
If it's *.php file – starting php-interpreter
If you are using database in web-app then do:
Connect to DB
Perform Query
Return result to PHP
Format data in VIEW template
Return response to your browser
Why standard server is so slow?
Apache starts PHP each time when you press F5 or navigate to some page at your website. PHP have to read and interpret your scripts each time. PHP connecting to DB each time.
How to make it faster?
Use server with permanent DB connection. Don't use interpreters. Use logic in Front VIEW template (JavaScript)
Installation
Requirements
ANJY already has connector for DB (MySQL, MSSQL, Postgre). So you don't need a 3rd part for using your DB data. You can install / use it in Windows (x64) and Linux (x64) platforms
Installing
Windows installation
Unzip archive to directory that will be a server
Run
install_windows.cmd
with administrative rightsNow you can start|stop|restart service via services control panel
Linux installation
Unzip archive. Archive has folders that have structure like linux file system
Put files into folders on your server as is. For example: put
/etc/init/anjy.conf
at same path on your serverChange file permissions to
755
for executable file/usr/sbin/anjy
and/etc/init.d/anjy
Enable daemon by using command
systemctl enable anjy.service
Now you can start|stop|restart service via service command