Meteor View Manager

Update This package just got mentioned in Meteor weekly 🙂 meteorhacks.com/meteor-weekly-meteor-new-version-10000-github-stars-dynamic-templates.html Update This package is now BLAZE ready, the new render engine of meteor, therefor there are some syntax changes. The view-manager package works like the Session object in meteor, but has some handy features. To place a template somewhere, just add the {{DynamicTemplate placeholder=”myKey” context=myData}} helper somewhere and then call: View.set(‘myKey’,’myTemplateName’); This will render template in its place. You can call View.set(‘myKey’,false); to remove it. Additionally you can pass an object to give it data context e.g: This context will then be merged with the context passed in template (dynamic content overwrites template set context) View.set(‘myKey’,{ template: ‘myTemplateName’ context: …

Meteor template animation helper

UPDATE 04.06.2015 Better use the new template animation helper, which uses ui_hooks to start animations: https://atmospherejs.com/frozeman/animation-helper UPDATE 23.10.2013 You can now also pass a template name to the {{AnimateTemplate “…”}} helper, this will render the template in place, switching a hidden class to animate on the element(s) with the class animate. Additionally the data context of this template gets the _templateAnimationKey, so you can manually fade the template out. To do that call the following inside a helper or event of that template: Update made BLAZE ready, the new render engine of meteor View/Session.set(this._templateAnimationKey, false); If you’re inpatient check out atmosphere. I love meteor for its simplicity, but there is …

Bitcoin at FinCEN

When your’e interested in bitcoin, you probably heard that most of the big bitcoin businesses including The Bitcoin Foundation got invited by FinCEN, the Financial Crimes Enforcement Network. I just found an report by one of the speakers Marco Santori, Lawyer and Chairman of the Bitcoin Foundation’s Regulatory Affairs Committee on bitcointalk.org, so i want to quote it here:

The Bitcoin Robot

UPDATE After using the robot for a while, i think that its way more efficient to buy bitcoin and leave them as using this robot, or trade manually! So better stay away and put that money in BTC directly 🙂 Hey, like you probably already read in my about page i’m currently into BITCOIN. I discovered it in may when it was at 80 EUR/BTC and shortly after went up to 266 USD/BTC, to crash then back to 50 and later ~100 USD/BTC. Currently we are at 130 USD/BTC at the time of this writing. I love the idea and the concept of bitcoin and already digged into wallets and …

Using Meteor as frontend library!

UPDATE You can now use my CLI to get the client part of your Meteor app! If you’re impatient go here: https://github.com/frozeman/MeteorFrontend Meteor is awesome, i loved it immediately as i saw the video. The way you can build one page apps is absolutely intuitive. I struggled with Ember.js, Backbone.js and AngularJS (which clutter the HTML too much), but Meteor really got it, in my opinion. The problem with Meteor is that it forces you to use the full-stack. Natively there is currently no easy way to separate the frontend from the server in Meteor. As i’m using Meteor to build the awesome TunedIn WebApp and we have already an …

Why is SVG so slow!

While working on the TunedIn web App i came across an issue with SVG. As we want to be retina ready and be able to easily switch colors of icons. We decided to use SVG for our icons. This worked well as SVG is nicely embeddable into HTML. By using the svg.whateverClass { fill: #fff; } css property you can change the color of the icon or add shadows and stroke colors. This worked all nicely until i had a lot of elements repeating the same SVG icons. I use chrome as my development browser (which is quite fast) so it took a while for me to notice. But as …