I've been contemplating for some time now how to differentiate platforms, frameworks, libraries and programming languages. Currently we've got them all mixed together as "platforms". This works for posting snippets, but it's not quite accurate to call jQuery a platform when its library. I've been trying to come up with a more general term such as markup or discipline, but it just doesn't sound right. Any thoughts or ideas?
@Firstmate That's how StackOverflow does it and that kinda makes sense. But we already have tags and those can be most anything. I'm looking for a way to categorize the snippets by language or platform.
I'm planning to implement a new snippet editor where you add multiple snippets with multiple languages/markups. So you could add a snippet that has PHP, JavaScript and CSS or a snippet that has HTML5, CSS and node.js. Would we just keep the platform system we have and just show the same snippet under /js/snippets, /php/snippets, /css/snippets? The problem is that CSS or HTML5 aren't necessarily platforms but markup languages. Everything has a syntax, so should we make the term "Syntax" the all-encompassing term?
I posted this question to UX.StackExchange and got an interestion proposition. We can have Languages such as PHP, JavaScript, CSS, C++, etc. and when posting code that pertains to jQuery it would be Javascript Language and the jQuery Framework. So we'd have to add a new type called Frameworks.
One idea is to create platforms, frameworks, libraries, languages as parent categories with the appropriate sub-categories. It would be nice to allow somebody to post a snippet that contains CSS, jQuery and PHP and call it a web application snippet. Or one could post node.js, CSS and HTML5 and call it a mobile application snippet.