nicklaros/pos
Composer 安装命令:
composer require nicklaros/pos
包简介
Next Generation Point Of Sale Application
README 文档
README
Demo
site = http://pos.jawait.net
user = admin
pass = admin
Requirements
Sencha CMDExtJS 5ComposerMemcacheZero MQ- Httpd server (nginx, apache atau lainnya)
- MariaDB atau MySql
- PHP 5.4 +
Propel ORM[Optional]
Backend Repository
Setting Up POS Project
- Clone or fork POS to your computer
- Use
composer updatecommand in POS root directory to tell composer to gather required dependencies for you - Import database from included sql file in
databasefolder - Before viewing it on Browser, you must run
sencha app buildcommand in POS root directory to build POS Project
Building Project for Production
Use following command in POS root directory to build project
$ sencha app build
Database Scheme
Click here to view database scheme
Important Information
-
By default, POS will try to connect websocket at
ws://pos.localhost:8080, so that means you have to set your POS development address tohttp://pos.localhostand make sureport 8080is open. Edit these two file if you want to change default setting-
Frontend:
POS/app/fn/Util.jsonline 19Ext.ws.Main = POS.fn.WebSocket.create('ws://pos.localhost:8080/POS/Mains');
-
Backend:
POS-ws-server/bin/server.phponline 20$app = new App('pos.localhost', 8080);
Important to note that the address and port on each file above must be identical or the connection will fail!
-
-
Default MySql database configuration:
- host: "localhost"
- database: "pos"
- user: "root"
- password: "sqlpass"
Edit these two file if you want to change default setting
- Frontend:
POS/remote/propel-config.php - Backend:
POS-ws-server/propel-config.php
Files and Folders
The following files are all needed to build and load the application.
"app.json"- The application descriptor which controls how the application is built and loaded."app.js"- The file that launches the application. This is primarily used to launch an instance of theMyApp.Applicationclass."index.html"- The default web page for this application. This can be customized in"app.json"."build.xml"- The entry point for Sencha Cmd to access the generated build script. This file is a place where you can hook into these processes and tune them. See the comments in that file for more information.".sencha"- This (typically hidden) folder contains the generated build scripts and configuration files for the application. This folder is required in order to build the application but its content should not need to be edited in most cases. The content of this folder is updated by "sencha app upgrade".
These files can be ignored from source control as they are regenerated by the build process.
"build"- This folder contain the output of the build. The generated CSS file, consolidated resources and concatenated JavaScript file are all stored in this folder."bootstrap.*"- These files are generated by the build and watch commands to enable the application to load in "development mode".
POS/app
This folder contains the JavaScript files for the application.
POS/resources
This folder contains static resources (typically an "images" folder as well).
POS/overrides
This folder contains override classes. All overrides in this folder will be automatically included in application builds if the target class of the override is loaded.
POS/sass
This folder contains the styling for the application's views. See POS/sass/Readme.md for details.
Future Development
nicklaros/pos 适用场景与选型建议
nicklaros/pos 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 37, 最近一次更新时间为 2014 年 10 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「shop」 「pos」 「sale」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 nicklaros/pos 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 nicklaros/pos 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 nicklaros/pos 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Onslip 360 PHP SDK
Admin Hub for GetCandy. A modern headless e-commerce solution for Laravel PHP framework.
Submodule for SilverShop which allows you to compare products in a table.
The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.
Product catalog for your Symfony2 applications.
Submodule for Silverstripe Shop adding pricing levels based on group (wholesale, etc) and per-item sale pricing.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 37
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-10-24