Vorausetzungen
- CentOS 7: unterstützt PHP 5.4.x, d.h. wir müssen Laravel 4.X nutzen, Laravel 5 benötigt PHP >= 5.5.9, was nicht per Default in CentOS 7 verfügbar ist.
Getting Started:
https://www.youtube.com/playlist?list=PL3NNgfBeSjc2HJN0MQJp3T5WhJ5E466-D
Documentation
- official doc:http://laravel.com/docs/4.2/
- API doc: http://laravel.com/api/4.2/index.html
- cheat sheet: http://cheats.jesse-obrien.ca/
Useful
Create Model, View and Controller with one command:
Code Block | ||
---|---|---|
| ||
php artisan generate:scaffold qos --fields="ds_rate_max:integer:unsigned, us_rate_max:integer:unsigned" |
Other Stuff
- Namespaces in Laravel: http://stackoverflow.com/questions/14714848/using-namespaces-in-laravel-4
- Relations in Laravel:
Widget Connector url https://www.youtube.com/watch?v=xIBST5vVq84 - http://culttt.com/2013/07/08/creating-flexible-controllers-in-laravel-4-using-repositories/
- http://laravel.com/api/4.2/Illuminate/Hashing/HasherInterface.html
- http://code.tutsplus.com/tutorials/laravel-4-a-start-at-a-restful-api-updated--net-29785
Editor:
...
ich nutze diesen mittels sshfs (mounten von SSH Ordnern) sehr gut, z.B. folgender Befehl
Code Block | ||
---|---|---|
| ||
sshfs -p 8024 80.243.40.25:/var/www /home/schmto/sshfs |
...
Widget Connector | ||
---|---|---|
|
...
1.1. Cloud | 1.2. On-Prem | |
---|---|---|
Remote Access | (1) | |
Full Functionality | ||
Automatically Backup (7) | (for SLA only) | |
Ready to start | <5min | <15min |
Required Tech-Knowledge (mostly Linux) | low | middle |
High Availability | >99,99% (2) | (3) |
Adaptive CPU Capacity | (4) | (4) |
Adaptive RAM Capacity | (4) | |
Adaptive Disk Capacity | (4) | |
Data Storage Region | EU (5) | your location |
Notes:
(1). See Cloud Guidance for getting your private credentials
(2). https://aws.amazon.com/de/ec2/
(3). Hosting your own infrastructure means: High Availability is your task. Depending on your infrastructure you could also reach >99,99%. How-To increase your availability by building your own Failover Architecture. We will consult Customers with a valid SLA regarding HA.
(4). Your Task / Job.
(5). Dynamically growing regarding the actual requirement
(6). default is Frankfurt. Can be changed regarding your needs. Contact: support@nmsprime.com
(7). Backup is hosted on a regional other IT infrastructure prevent that a regional lost affects your datas
(8). Mostly depening on your Linux knowledge