1w6 uRPG 1w6 uRPG
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • Directory

http://sn.1w6.org/file/lnxw48-20150226T023913-kew57d4.html

http://sn.1w6.org/file/lnxw48-20150226T023913-kew57d4.html
@speeddefrost "PHP is just a crap language. You don't embed HTML in program logic and expect the code to stay simple and clean. It's the most idiotic thing in the world and how it became popular is scary to even think about." True, embedding display markup into program logic is a mistake. Embedding program logic into display markup (as is often the case in PHP) is also a mistake. But even #PHP allows one to separate the two. Not as much as it should, but it is possible. For example, the Smarty templating language is usually available wherever PHP is. Also: MVC http://url.federati.net/1rzfN and MVP http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93presenter [both links: wikipedia]

Notices where this attachment appears

  1. lnxw48 lnxw48

    @speeddefrost "PHP is just a crap language. You don't embed HTML in program logic and expect the code to stay simple and clean. It's the most idiotic thing in the world and how it became popular is scary to even think about." True, embe…

    Thursday, 26-Feb-15 02:39:02 UTC
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

1w6 uRPG is a microblogging service brought to you by Arne (Drak) Babenhauserheide. It runs the StatusNet microblogging software, version 1.1.1-release, available under the GNU Affero General Public License. The running version includes the patches from draketo.de/proj/statusnet-patches.

Creative Commons Attribution 3.0 All 1w6 uRPG content and data are available under the Creative Commons Attribution 3.0 license.