The file organisation is broken down into these main groupings.
-
Global
This contains site configuration variables and a _shame.scss file which contains any hacks. -
Elements
The Problem: We have a WCF JSON API, that we need to make accessible from third-party sites (on IE7+), so JSON-P looks like a good solution. | |
Issue is, (what the .NET guy here has told me), each endpoint in the WCF router will need to be re-written (or added to) to handle GETs (We currently use GET, POST, and DELETE depending on the action). That sucks. | |
My idea: An IIS module (handler?) that intercepts JSON-P requests, and transforms the request to something the WCF router can handle, then pads the response. Basically transparent JSON-P padding around WCF. | |
Make sense? Does this exist already? |
A small curation of useful links for learning JavaScript at any skill level.
Some useful sources of more articles and resources:
The goal in re-writing ModelList is to take advantage of the features in LazyModelList which improve performance, which is mainly to not immediately regenerate plain JavaScript objects that are added to the ModelList.
Right now, a ModelList is sometimes used like this inside a View:
template: function(data, options) {
/* Interpolates data into a string of HTML */
tacos are a category of food that are relatively small in size and are served on a open platform of thin carbohydrate filled material. things that make you want to sleep after eating or are sealed off when served are not tacos (see instead: burritos, pizza)
/*! = $rembase: 14px | |
-------------------------------------------------------------- | |
* hmtl { font-size: 87.5%; } | |
* body { font-size: 14px; font-size: 1rem; line-height: 1; } | |
* 4px 0.28571429rem | |
* 8px 0.571428571rem | |
* 12px 0.857142857rem | |
* 13px 0.928571429rem | |
* 14px 1rem | |
* 16px 1.142857143rem |
Dear [First Name], | |
We're really sorry but our systems were compromised and the attackers managed to take a copy | |
of your passwords. | |
The passwords were stored as: | |
[ ] Bcrypt hashes with a cost factor of X | |
[ ] PBKDF2 hashes with an iteration count of X | |
[ ] scrypt because I am Colin Percival |
// How to use it. | |
// | |
// This code is based on the template file that YOGI produces for unit testing | |
// when a module is created. Only the main changes to it are listed. | |
// | |
// Add a reference to the module in the YUI configuration section so it can locate it | |
// It's up to you where you put it. | |
YUI({ | |
groups: { | |
leaks: { |
the new github notifications (https://github.com/blog/1204-notifications-stars) leaves me wanting more!
notifications settings should let you choose whether or not to receive emails for the above things. there should also be a web UI that shows you a list of all comments/messages for the above scenarios. at the moment https://github.com/notifications only shows you github issue names which is less useful than showing the actual message (the old notifications page showed actual messages)