Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

to scaffold an app in php, `vim index.php`


Nope. 'artisan' is the command you want. Oh, you're not using Laravel? You should be.


Why should s/he be using it? Because you think if it suits your requirements it must suit everyone else's?


It's called hyperbole. Which is also what my parent was doing.

And actually, for most cases, yes using a framework is a better choice for nearly any skilled team with PHP: it's too easy to get it wrong, and now you have a massive security breach. See any exploit database for examples.


But you didn't say use a framework. You said "use this exact framework" with no idea what they were going to build.


Symfony has similar generators as well.


Yeah, Symfony/Silex are great too.


This is what's wrong with so much php out in the world I encounter on moonlighting gigs. Everyone crams it all into index.php

Maybe you were joking, but to call editing an index.php file a scaffold is scary (although highly profitable for me!)


"although highly profitable for me!"

Is it really? Personally, I've found that many of the projects which hired those sorts of developers either have little budget to start with, or have little budget left for a 'version 2' or 'clean up version 1' effort, because they spent most of it on the earlier garbage. Certainly plenty of work available to do that sort of clean up, but it doesn't strike me as 'highly profitable' on the whole.


I don't budge on my rate. If they are limited in what they can pay, I'm limited in what I can fix, or I simply don't work for them.

Again, I only do these projects as moonlighting, this isn't my primary source of income. People contact me to fix their sites based on referrals and they know my rate before they contact me. I don't go out of my way to scour craigslist/odesk/whatever for jobs.


Because it's better cram everything in a server.js file ! sure.


I think that you would have to make the scoffold command yourself, there is a guide on there website that teach you how to make your own yoeman scaffold, to fits your needs.


Not a php dev. You get asset compression and scss compilation natively from php? That would be pretty amazing!





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: