Smile_Engine Demo
1.0.0
微笑引擎是一种新的轮子。高性能,可扩展和全栈PHP / JS框架。微笑发动机的作品功能和模块化仅适用于PWA
1-获取https://github.com/toptunes/Smile_Engine-Demo
It will work only in the root folder or if you use XAMPP make changes in the XAMPP setting:
DocumentRoot "c:/xampp/htdocs/Smile_Engine-Demo"
If you use DirectAdmin or Cpanel you should install it in the /public/ directory
2-转到/CPU/conn.php ,然后将数据库名称和密码设置为mySQL(它可以与MySQLI一起使用 - 尚无PDO)
After you set the database name, Import this structure as an example.
https://github.com/toptunes/Smile_Engine-Demo/blob/master/database_name.sql
3- app/views/html/modules/几乎所有PHP文件都是一个示例。
4-在/modules/中制作新文件your_module_name.php 。并在下面复制此代码。
<?php
$ html_final = module ( ' div ' , ' your_module_name ' , '
Here you can write HTML, JSON, or just write hello world
If you want to use JSON you should learn how to make preload modules
' );
?>5-如果使用XAMPP,请打开http://127.0.0.1/your_module_name(您可以看到模块)
如果您知道核心PHP,您已经知道如何使用SmileEngine,但是关于JS部分的某些观点,我会尽快说!
我们将把很多模块作为PHP文件。但是根据请求将加载一个或最多5个儿童模块。
如果您有经验,则可以制作预加载模块。
该框架适合想要制作简单可扩展项目的功能程序员
您无法定义模块内部功能。进行程序编程或使函数on_ cpu/fn.php _
所有现有模块都是一个示例,不是框架的一部分
https://www.linkedin.com/in/toptunes/
在线演示:https://app.abyekiha.com/使用此数字登录到面板:09354894522