- has speed of performance ever been an issue?
- how easy have your found it to deploy (and keep up-to-date) PHP apps on the server
Overall, do you recommend PHP 7.x for new web projects? Your thoughts appreciated. Thank you.
1–10 of 24 posts
- has speed of performance ever been an issue?
- how easy have your found it to deploy (and keep up-to-date) PHP apps on the server
Overall, do you recommend PHP 7.x for new web projects? Your thoughts appreciated. Thank you.
So it's not a choice it's a requirement
Also, in my opinion, it's not a very nice language at all.
I'd recommend considering alternative options to PHP, in other projects I have found it hard to maintain over a longer period and things got messy very fast, even when using frameworks. Also, in my opinion, it's not a very nice language at all.
Don't get me wrong, your post just doesn't sound too helpful
I don't care too much for the syntax but if you just want to put up a simple page with server-side logic in as quick a time as possible then its as good as most.
I use the Laravel Framework on PHP 7, Laravel makes PHP nice to work with. Laravel is as enjoyable as Rails, sure you miss Ruby but Laravel keeps development fun. If you are doing a project in PHP use Laravel.
I use forge.laravel.com to spin up servers and do deployments. It saves a ton of time and is definitely worth it. You could use it for any PHP project not just Laravel. There is also envoyer for zero downtime deployments. You setup Forge to pull code from from your Github/Bitbucket.
Forge is really amazing you can register a new domain, create a new Laravel project, and have it live on the web in 10 minutes. You can also add Lets Encrypt SSL certs right from the forge dashboard. Same for setting up an existing project from scratch it's fast to create a new droplet for an existing project.
If you are using Laravel I would recommend updating your apps as new versions of Laravel are released. Each update is pretty painless but if you wait to update doing them all at one time to get to the latest version can take some time.
There are lots of great time saving Laravel packages out there most require you to keep Laravel close to the latest release so it's worth staying up to date for the packages. Plus each release of Laravel always has nice additions to the framework.
I suggest you to use a good IDE (Atom or PHPStorm) and maybe learn a good framework like Symfony, or it would become unmanteinable quickly.
Six of one, half-dozen of the other if you ask me.
Almost any of the big ones will do, so stop sharpening your pencils, pick one, and get to work.
I'll highly recommend that you spend some time learning composer first. That is a must for any serious php development.
Then there are optional things you can learn like a framework like laravel, symfony, etc. My personal opinion is to stay away from it since I have found that a router is mostly all you need to get started quickly. Often times the headache to configure and debug the framework far exceeds the utility of it. So my own personal preference is to just use composer and a router and native PHP. Keeps things simple, easy to debug and super easy to deploy. But YMMV.