员工
- 假期
- 薪水
- 个人信息
- 工作内容
- 每天做了什么
- 要去做什么
- 培训
- 内容
- 做什么东西
- 怎么做
- 其他记录
- 时间表
- 会议
经理,老板的面板:
快速查看某个人的资料, wage, trainning, exam, time table, meeting record.
Staff Dashboard:
check my timetable, learning and trainning. meeting record.
ERP
Enterprise Resource Planning
员工
经理,老板的面板:
快速查看某个人的资料, wage, trainning, exam, time table, meeting record.
Staff Dashboard:
check my timetable, learning and trainning. meeting record.
ERP
Enterprise Resource Planning
0.5 kg 牛油 Yellow Butter
4 个鸡蛋打匀 Egg
加入1kg 面粉 Cake Flour
一种放花生酱, 上面擦上巧克力, Chocolate Hazelnut Spread
一种放柠檬酱, 上面擦上
对象:
Ktv Stock, Stock Control, Label, Dish 等等这些都是物体对象,它们的属性也小有不同,所以它们是不是可以统一管理,同一个数据表,按不同的目录分类,属性可以不同。这样会节省开发的时间,不用为每一个对象做差不多一样的工作。数据表,外观,新增,编辑,删除,。。如果只有一个平台去管理所有这些对象将会方便很多,问题是可能会运行起来会慢,因为很多对象用同一个数据表。
人物:
employee, contact, customer, supplier, buffet customer, ktv customer, takeaway customer, 这些也是差不多相像的。
组织:
餐馆,外卖,零售,公司
起码我用这种用户界面的方式去管理整个系统的对象,做成一个大库,以后就可以用上帝模式去做不同的对象,不用重新去想,重复的东西
对象,目录,子目录之间的关系,多对多关系
把所有世间这些对象之间的关系搞清楚后,做成一个库,可以根据这些关系,属性生成数据表,就很快速了,做成一个框架,对象库,以后要生成要一个关于某个对象的数据表,哪就会简单快捷很多,而且不用写代码
昨天用了几个小时,开发了8个简单了CRUD Form, 用laravel 框架与php storm的live template, 效率很高,很快就做出了一个。如果换是以前单用php,哪是不可想像的,要花二三天的时间可能。
基本上就是几个步骤:
以后自己有更多的开发经验后,完全可以做到一键速成,再用interface 的方式去细改,可能以后都不用写代码了。
理由:
Today spend 4 hour to do found out why can not easyly setting up the forge web deploy and sync from github, the main reason is the .env file. When the first time make a new repository, the .env file have to able to pull from the github, if not exist on the gihub will have error. after run the first success repository, the change the local .gitignore file to :
Homestead.yaml
Homestead.json
.env
means will ingnore the .env file
以前我开发的结构:
前台:
后台:
Database Design
Interface Design
php artisan db:seed --class=DatabaseSeeder
If you're not bound to using Apache or nginx for some special reason and this is for development purposes only, you could serve the application using the PHP built-in server and artisan. It's by far the easiest thing to setup, and will only require you to run one command in the Laravel application directory:
php artisan serve --host 0.0.0.0
The default port it will be listening to will be 8000 to avoid any conflicts, so you can now access the application from your phone via the IP address of your computer:
http://192.168.1.101:8000
If you want to listen to another port (for example the default HTTP port of 80) you can pass that as a parameter, just make sure no other server is running on that port. So if you run this instead:
php artisan serve --host 0.0.0.0 --port 80
You can now access your application with just the IP address:
http://192.168.1.101
sudo scutil --set HostName name-you-want
A user's full name can be changed by that user or an administrator. The full name doesn't need to be the same as the account name or home folder name.
Fix the CORS Error — and How the Access-Control-Allow-Origin Header Works
On Feb 24,2022 at 11:33 pm