Reputation
474
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 10
Newest
 Good Answer
Impact
~9k people reached

Dec
22
comment Is it considered bad practice to have PHP in your JavaScript
@GregGuida: My guess would be that programmers are seldom used to dealing with client/ server architectures like you get in web development. They treat DB <-> PHP <-> HTML / JS / CSS as one, and don't fully understand what should go where, and how the layers should be separated.
Dec
22
comment Is it considered bad practice to have PHP in your JavaScript
@Incognito: id="post_<?php echo $post->getId(); ?>" ?
Dec
22
comment Is it considered bad practice to have PHP in your JavaScript
@Incognito: A list of n items, and each one has it's own ID?
Dec
22
comment Is it considered bad practice to have PHP in your JavaScript
@Raynos: Are you suggesting Google doesn't generate the JavaScript source code for Google+? :P
Dec
22
answered Is it considered bad practice to have PHP in your JavaScript
Mar
9
awarded  Autobiographer
Mar
9
awarded  Supporter