Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search
 

Phillip McCleod

(1,837 posts)
11. yep no point switching horses midstream..
Thu Apr 4, 2013, 08:28 PM
Apr 2013

..that's exactly how i'm stuck relying on PHP/WP again. *i* ain't reinventing *this* wheel. no way.

my own experience is python-heavy so that's what i can attest to, but yeah it's pretty much a snap to learn with almost any coding background. actually i imagine learning python while coding with django might be a nice way in since you can then relate what you're programming to what you expect to see served up in the end (for instance an HTML form).

this overview compares python/django and php and probably will answer your other questions better than i could..
http://j4mie.github.com/python-and-django-for-php-refugees/#slide1

i will say that no, the templating schemes i spoke of in a general sense aren't drag-n-drop. in fact most of them are fully blown languages. django for instance uses it's own proprietary template language..
https://docs.djangoproject.com/en/dev/topics/templates/

..whereas for instance users of github, ruby-on-rails, octopress, jeckyl, etc. might be coding in the liquid templating language..
https://github.com/Shopify/liquid/wiki/Liquid-for-Designers

they are quite similar. in both for example, the following would be legal in an HTML file..

<ul>
{% for item in itemlist %}
<li>{{ item }}</li>
{% endfor %}
</ul>

the $ugliness-> strikes me every time. nt napoleon_in_rags Mar 2013 #1
It's not the php as much as it is the wordpress plugin Merlot Apr 2013 #2
actually working with wordpress api Phillip McCleod Apr 2013 #3
One of the reasons I dislike WP is the lack of good plugins Merlot Apr 2013 #4
yeh it's work.. Phillip McCleod Apr 2013 #5
"Never mess with WP again." music to my ears Merlot Apr 2013 #6
What usable language? Ruby? DaveJ Apr 2013 #7
negate? no, but mediate? definitely. Phillip McCleod Apr 2013 #8
I'm not opposed to switching frameoworks DaveJ Apr 2013 #9
yep no point switching horses midstream.. Phillip McCleod Apr 2013 #11
Does {{ item }} in that example usually contain a single variable or HTML output? DaveJ Apr 2013 #12
yeh be careful that sounds dangerous.. Phillip McCleod Apr 2013 #13
I suppose nebenaube Apr 2013 #10
haha very funny dr. jones. Phillip McCleod Apr 2013 #14
I know that I'd prefer to work in Perl over PHP. Fortinbras Armstrong Jul 2013 #17
Now that's just weird... nebenaube Jul 2013 #18
PHP arachadillo May 2013 #15
yeh there's no doubt that for all it's faults.. Phillip McCleod May 2013 #16
hrumph... nebenaube Jul 2013 #19
Latest Discussions»Retired Forums»Website, DB, & Software Developers»reviving the 'php sucks' ...»Reply #11