Skip to content

u/aquanutz

In this archive from Jun 2010 to Mar 2026

2
posts
218
comments
0
media
689
score

Top posts

Need advice on organizing external libraries

Hello, My team and I are finally making the switch from CodeIgniter to Laravel for our application. I am in the process of setting up what will eventually become our master git repo and I am looking for advice and best practices for importing our own homegrown external libraries into Laravel. Right...

2 points6 comments
Open on Reddit

Top comments

I may be the dissenting voice here, but I am not a fan of templating langauges and in favor of using shorttags in my views (HTML files). Before everyone starts throwing shit at me, I mean shorttags in the "<?=$lulz?>" and not "<? echo $rofl; ?>".

There is no overhead with shorttags, they are going to be around forever now (announced recently I think) and they are about as readable as smarty and other templating languages: {lulz} vs <?=$lulz?> is really not that bad. Lastly, in the event that you have to do some small logic in your view, it's much easier to do it in raw PHP than a templating languages logic (I am referring to Smarty here, I hated that so much).

edit: wtf, somehow a bunch of '~' got into my response... weird.

24 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.