HTML is a data structure

From reddit user remy porter┬áin the thread “Is Separating HTML and JavaScript Harmful? ” we have:

The problem is that most frameworks misunderstand what HTML is.

HTML is a data structure. Specifically, it’s a semantic data-structure for holding human-readable information. It is the backing-store of a presentation layer, it is not, itself the presentation. CSS is a rule-based system for defining how to map that backing-store into actual rendering. JavaScript is a tool to manipulate that data.

The purpose of our MV- frameworks is mostly to map actual data- XML or JSON- to our HTML backing store. Their mistake is thinking of the HTML as a view- HTML does not have the concept of a “View”, and bolting the view on is awkward and leads to all sorts of tooling issues- which is mostly what the author is complaining about. These are valid complaints, but they don’t arise from separation- they arise from leaky abstractions.

 

 

Posted in Uncategorized | Leave a comment

Concurrency

http://migrateup.com/python-concurrency-story-pt2/#

Posted in Python | Tagged | Leave a comment

Mary Rose Cook on FP in Python

http://maryrosecook.com/blog/post/a-practical-introduction-to-functional-programming

Posted in Python | Tagged | Leave a comment

Zato 2.0 – ESB, SOA, REST, APIs and Cloud Integrations in Python

Zato

Posted in Python | Tagged , , | Leave a comment

scala book pdfs

When I wanted to learn Scala, my first steps were to get Scala, SBT and Intellij IDEA installed. And then I needed to get IntelliJ IDEA to know about my locations for scala, scalac, and sbt.

The next step was to find some offline resources, so I could learn on the train. Here are enough resources to get you going:

Happy hacking!

 

Posted in Uncategorized | Tagged | Leave a comment

Avoid MySQL – especially with Django

This tells why.

Posted in Uncategorized | Leave a comment

Querying Tree Structures in SQLite

Excellent summary.

 

Posted in Uncategorized | Tagged | Leave a comment

PyData 2014 NYC

Excellent summary

Posted in Uncategorized | Tagged , , | Leave a comment