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