Primary Menu Search
  • About fragged.org

frag   (frăg)

frag (frăg) [..] 2. To completely ruin something.

You are here: Home

Epitome now available as npm and under CommonJS

Published by Dimitar Christoff on 20 Jun '13 | Leave a response

Just a quick update, Epitome now supports nodejs. Here’s an example creating a server via `express` and `socket.io` with a collection and a model that can be shared on the client as well: #!/usr/bin/env node ‘use strict’; var express = require(‘express’), app = express(), http = require(‘http’), server = http.createServer(app), io = require(‘socket.io’).listen(server); // load mootools globals and extend protos… Read more →

Posted in javascript, mootools, nodejs | Tagged Epitome, mootools, nodejs, npm

Doctor, MD – updated for recess 1.1.8 and BootStrap 2.3.2

Published by Dimitar Christoff on 20 Jun '13 | Leave a response

Just a quick note, updated my nodejs Markdown to HTML site generator Doctor to support the latest recess and BootStrap 2.3.2, latest stable published npm is v0.1.14 The grunt-doctor-md grunt task has also been updated to use doctor-md@0.1.14. $ npm install -g doctor-md $ doctor

Posted in javascript, nodejs | Tagged doctor, markdown, nodejs, npm

Hiding enumerables after MooTools changes prototypes

Published by Dimitar Christoff on 3 Jun '13 | Leave a response

One of the most common complaints of people when using 3-rd party code that breaks on MooTools pages is when somebody incorrectly tries to iterate through an Array with the `for (var in)` operator and the methods and properties added by the framework also show up. When you cannot change the code to add `hasOwnProperty`, it leaves you with very… Read more →

Posted in javascript, mootools | Tagged javascript, mootools

Extend Slick pseudo selector to find data-attributes

Published by Dimitar Christoff on 18 Sep '12 | Leave a response

This is a relatively simple idea. Select elements with data-attributes that match a pattern, for example, div[data-media-*]. The problem is, CSS selectors don;t allow you to wildcard attributes themselves so we need to be creative. We will extend the Slick selector engine with a data pseudo selector, which will look at the outerHTML of the element and find a match… Read more →

Posted in javascript, mootools | Tagged motools, slick

Spying unobtrusively on Class instance events in MooTools

Published by Dimitar Christoff on 21 Aug '12 | Leave a response

Ever needed to debug how your Class instances fire Events? It can be frustrating and messy, especially if you do not have access to the original Class prototype source. But, you can hack your way around this and create a transparent spy on all fireEvent methods on any Class instance. Here is how: (function() { var spyId = ‘spyEvent’; Class.extend({… Read more →

Posted in javascript, mootools | Tagged class, fireEvent, mootools

Epitome does todo

Published by Dimitar Christoff on 13 Jul '12 | Leave a response

Just a quick update, my MooTools MVP library Epitome now has its own Epitome-todo repository as a submodule, an implementation of the popular TodoMVC demo. You can see it live here. If you checkout Epitome from git, you can use: git submodule init git submodule update … and point your browser to your local `example/todo/epitome/` folder.

Posted in javascript, mootools | Tagged Epitome, mootools, MVC, todo

Epitome goes CI via buster.js and Travis CI

Published by Dimitar Christoff on 6 Jul '12 | Leave a response

Just a quick note – the MooTools MV* framework I wrote for QMetric called ‘Epitome‘ is now covered by Travis CI automated testing. Read more about how to implement this in your javascript projects in this blog post on the QMetric Tech Blog.

Posted in javascript, mootools | Tagged buster.js, mootools, travis-ci

So you want delayed events in your mootools class?

Published by Dimitar Christoff on 13 Jun '12 | Leave a response

I recently found that in the context of Class, .fireEvent() accepts a 3-rd argument, delay. Firing deferred events can be useful but you need to understand the full difference between the patterns available at your disposal. Pattern one. It relies on delay creating a function and passing arguments to that function at the time of invocation. Does not actually fire… Read more →

Posted in javascript, mootools | Tagged fireEvent, mootools

Epitome: an example MooTools model / MVC tutorial

Published by Dimitar Christoff on 11 Jun '12 | Leave a response

I have been a little busy at work but we recently built a small Model class to support our question set and I turned it into a tutorial on how to build your own MV* framework on top of MooTools. It is called ‘Epitome‘ and is available on GitHub here: https://github.com/DimitarChristoff/Epitome. Keep in mind that it may turn out to… Read more →

Posted in javascript, mootools | Tagged mootools, MVC, tutorial

new mootools github repos for handy little tools

Published by Dimitar Christoff on 28 May '12 | Leave a response

Right then. If you don’t follow me on github, this will be news to you. Storage. https://github.com/DimitarChristoff/Storage – it’s a class that allows you to API localStorage or sessionStorage, when available – with a fallback to using window.name in older browsers like IE6/7. It can be used as standalone or as a mixin (implemented) class within any other class. It… Read more →

Posted in javascript, mootools | Tagged javascript, mootools
1 2 … 13 Next →

Categories

  • ajax
  • css
  • e-commerce
  • football
  • fragged
  • games
  • google
  • interviews
  • javascript
    • nodejs
  • mootools
  • PHP
  • SEO / SEM
  • server
  • shopping
  • vista
  • we dislike…
  • we like
  • wireless

Software

Archives

  • June 2013
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012

Popular stuff

  • Windows Vista Wi-Fi lag every 60 seconds - the nightmare of every gamer
    11 comment(s)
  • CubeCart problems: no shopping bakset and login functionality for some users
    7 comment(s)
  • getting fancy with AJAX: your first form submission and verification
    7 comment(s)
  • mooSelecta - an accessible mootools select/dropdown element replacement
    6 comment(s)
  • CubeCart: a ticking timebomb that goes off 1 second at a time
    6 comment(s)
  • beware: googlebot understands javascript, mootools and ajax now
    5 comment(s)
  • CubeCart 4 security vulnerability: is your store at risk?
    5 comment(s)
  • mootools image cropping: kroppr, mooCrop and UvumiTools Crop
    4 comment(s)
  • What is a javascript framework and why do I need one, part I
    4 comment(s)
  • Creating a wrapper namespace for the FireBug console.log function for IE and other browsers
    3 comment(s)

Primary Menu

  • About fragged.org

Copyright © 2013 Dimitar Christoff.

Back to Top