jamilsoft/jamilx
Composer 安装命令:
composer create-project jamilsoft/jamilx
包简介
Jamilx is a powerful PHP web application framework that is designed to facilitate the rapid development of software as a service (SaaS) applications.
README 文档
README
Jamilx is a PHP framework for building RAD and SaaS applications featuring the MVC format. It is designed to be easy to use, flexible, and extensible, with a focus on developer productivity.
Jamilx uses a prototype-container-service (PCS) pattern for its MVC architecture, where the prototype is the model, the container is the view, and the service is the controller. It also includes many reusable components called actions that any service can access. The framework supports MySQL as a default database, but a developer can use a different database.
Features
Some of the features of Jamilx include:
- MVC architecture
- PCS pattern
- Reusable components (actions)
- Command-line tools for code generation and database operations
- Built-in authentication and authorization
- User management
- Multilingual support
- Error handling and debugging
- Modular architecture
Requirements
To use Jamilx, you need to have the following requirements installed on your system:
- PHP 7.2 or higher
- Apache or Nginx web server
- MySQL or MariaDB database
Download and Installation
You can download Jamilx from Github or install it using Composer. Once you have downloaded the Jamilx folder, place it in your server's public directory, such as htdocs or public_html. To install Jamilx, open your web browser and navigate to http://localhost/jamilx/installer. Follow the on-screen instructions to complete the installation.
Creating an Application
To create an application or platform on Jamilx, you have three options:
- Use the command-line tool: Open CMD and navigate to your Jamilx folder and run the following command:
jamilx CreateApp "App Nickname" "App Name" "App Description". The tool will create a boilerplate for you in theAppsdirectory containing your app data. - Self-creation: Go to the
Appsdirectory, create a new directory with your app nickname, inside the directory create a PHP file with the app nickname and create a PHP class that extendsJXServiceand implementsJXServiceI, createconf.jsonand fill the necessary fields for the app. Use the demo app for a sample. - GUI: Go to your admin interface, navigate to the "app creation button" and click it. Use the on-screen information to create your app.
Directory Structure
The Jamilx directory structure is as follows:
Apps: This directory contains all the applications you create using Jamilx.Core: This directory contains the core files of Jamilx.Vendors: This directory contains the third-party libraries used by Jamilx.assets: This directory contains the public files of your web application, such as CSS, JavaScript, and images.Containers: This directory contains the templates used by your web application.
Configuration
Jamilx has no manual configuration. Once you run the installer, it will set everything for you.
Usage
To use Jamilx, you can create controllers, models, and views. Controllers are responsible for handling user requests, models are responsible for data storage and retrieval, and views are responsible for displaying the data to the user. You can also create reusable components called actions that any service can access.
Conclusion
Jamilx is a powerful PHP framework that simplifies web application development. Its MVC architecture, PCS pattern, and reusable components make it easy to build robust and scalable applications. With its built-in authentication and authorization, user management, multilingual support, and modular architecture, Jamilx is an excellent choice for building SaaS
jamilsoft/jamilx 适用场景与选型建议
jamilsoft/jamilx 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 03 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 jamilsoft/jamilx 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jamilsoft/jamilx 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-03-16