Signup Zone

Artana Pty Ltd

Signup Zone

A Meteor app

Arthur Street

Meteor made it easy

Meteor made it easyier

SEO - exactly two keywords!

Potential show stopper (even with spiderable).

Speed

Intermittent problem
Whole literature about this

Browser Issues

Just the usual

... don't forget evt.preventDefault()

... plus Iron-Router won't save state in IE9

PayPal - IPN

Cool stuff

Client-side transforms - advice?

			Docs = new Meteor.Collection("docs", {
			    transform: function (doc) {
			       // annotate it
			       doc.xSqr = doc.x * doc.x;
			    },
			});
			
// in template {{# each docs }} {{ xSqr }} {{/each }}

Iron Router data - advice?

			MyController = BaseController.extend({
			    template: 'myTemplate',
			    waitOn: function() {
			       return Meteor.subscribe("docs", this.params);
			    },
			    data: function () {
			       if (this.ready()) {
			          // only transform the docs once
			          d = { myData: Docs.find().fetch() }
			          document.title = d[0].name;
			          return d;
			    } },
			});
			
_.filter(this.docs,function(x) {return x._id==id}); // Docs.find(id) is nicer!

Modals - advice?

			<template name="pageserver">
			    {{> yield}}
			    {{> modals}}
			</template>
			<template name="modals">
			    // repeat for each modal
			    {{#if showModal 'delete'}}
			        <div class="modal-backdrop fade in"></div>
			        <div class="modal fade in">...</div>
			    {{/if}}
			</template>
			// helper
			    showModal: function(x) {return Session.equals("modal",x)}
		

Please check it out!