# |
Jun 27th 2017, 10:09 |
birdy247 |
Thats sounds worrying lol |
# |
Jun 27th 2017, 10:08 |
neon1024 |
I did this when I PR’d my local php usergroup website and broke everything :P |
# |
Jun 27th 2017, 10:08 |
neon1024 |
Do remember to put a commit hook in your repo to ensure Grunt script is run before you commit, so you can’t push stuff up which isn’t built |
# |
Jun 27th 2017, 10:07 |
neon1024 |
I guess it’s whatever is easy to install locally and you like the best :slightly_smiling_face: |
# |
Jun 27th 2017, 10:06 |
neon1024 |
¯\_(ツ)_/¯ |
# |
Jun 27th 2017, 10:06 |
neon1024 |
PHP with Composer |
# |
Jun 27th 2017, 10:06 |
neon1024 |
Ruby with Gem, or Node with NPM |
# |
Jun 27th 2017, 10:06 |
neon1024 |
So it’s 6 and two 3's |
# |
Jun 27th 2017, 10:06 |
neon1024 |
We use Sass, and build locally using the Ruby gem |
# |
Jun 27th 2017, 10:06 |
neon1024 |
Heh |
# |
Jun 27th 2017, 10:06 |
Antoniossss |
(I would use CDN for that) |
# |
Jun 27th 2017, 10:06 |
birdy247 |
and build with grunt |
# |
Jun 27th 2017, 10:06 |
birdy247 |
Was going to use less for the css |
# |
Jun 27th 2017, 10:05 |
neon1024 |
If you’re ‘building’ your assets, perhaps you need something like Grunt |
# |
Jun 27th 2017, 10:05 |
birdy247 |
seems fairly quick and easy to setup |
# |
Jun 27th 2017, 10:05 |
neon1024 |
I bet there are lots of funky NodeJS packages you can find on NPM for various things though :slightly_smiling_face: |
# |
Jun 27th 2017, 10:05 |
birdy247 |
but take your point |
# |
Jun 27th 2017, 10:05 |
birdy247 |
I use mapping fairly heavily |
# |
Jun 27th 2017, 10:04 |
neon1024 |
My staple is really just Twitter Bootstrap and jQuery :P |
# |
Jun 27th 2017, 10:04 |
neon1024 |
I guess if you use lots of front-end libraries you might find Bower more manageable. Like if you were building a single page app in React, Angular, Ember or something like that. Not something I’ve ever done. |
# |
Jun 27th 2017, 10:02 |
neon1024 |
Stuff like jQuery I pull from the Google CDN |
# |
Jun 27th 2017, 10:01 |
neon1024 |
Most JS libraries I use are on Packagist. So I install them with Composer and symlink them into /webroot |
# |
Jun 27th 2017, 10:01 |
birdy247 |
and then copy/paste it to an "assets" folder in webroot |
# |
Jun 27th 2017, 10:01 |
birdy247 |
I currently download something i.e. bootstrap |
# |
Jun 27th 2017, 10:01 |
birdy247 |
I mean the files |
# |
Jun 27th 2017, 10:01 |
neon1024 |
Yeah, don’t do that. |
# |
Jun 27th 2017, 10:00 |
neon1024 |
Er :S |
# |
Jun 27th 2017, 10:00 |
birdy247 |
I never really feel right doing that |
# |
Jun 27th 2017, 10:00 |
birdy247 |
Better than copy/pasting js |
# |
Jun 27th 2017, 10:00 |
neon1024 |
Perhaps my front-end stuff isn’t complex enough |
# |
Jun 27th 2017, 10:00 |
neon1024 |
Just feels totally superfluous to me |
# |
Jun 27th 2017, 09:59 |
birdy247 |
Thats how we intend to use it |
# |
Jun 27th 2017, 09:59 |
birdy247 |
Cant you just install locally and push to dev? |
# |
Jun 27th 2017, 09:59 |
neon1024 |
Perhaps you can use it to build assets in development before pushing the compiled stuff up to production |
# |
Jun 27th 2017, 09:59 |
neon1024 |
I don’t want those on production |
# |
Jun 27th 2017, 09:59 |
neon1024 |
I don’t like that it has both NodeJS and NPM has dependancies |
# |
Jun 27th 2017, 09:59 |
birdy247 |
Any reason why? |
# |
Jun 27th 2017, 09:58 |
neon1024 |
But I’m a back-end developer. What do I know about front-end? |
# |
Jun 27th 2017, 09:58 |
neon1024 |
Really |
# |
Jun 27th 2017, 09:58 |
birdy247 |
@neon1024 for real or sarcastic? |
# |
Jun 27th 2017, 09:58 |
hmic |
like, at least, foollow the tutorials in the book closely and play a litte with that code base |