Load files ordering

In this little post we’ll see how load files ordering works in an Meteor application. In fact the rules are quite simple: Templates (.html files) are loaded before anything. Files in the lib directory are loaded then. Files in deeper directories are loaded before. Ordering for files in the same directory is alphabetical. Main. *…

EJSON e DDP

In the previous article (But what’s Meteor?) I made a overview about Meteor, now let’s see a little more of each item of an application Meteor architecture, starting with EJSON and DDP. EJSON EJSON is a JSON extension that supports most types eg Date (Javascript Date), Binary (Javascript Uint8Array or EJSON.newBinary) and user-defined types (EJSOPN.addType),…

Tip : Using an external MongoDB

Just a quick tip to save some time during development. Up and use an external MongoDB. First of all, install MongoDB on your machine. Now you need to set the environment variable MONGO_URL, either through export or your own IDE. In my case I’m using the IDE itself. Okay, now when you restart your Meteor…

But, what is Meteor?

 On 1 December 2011 the MDG (Meteor Development Group), announced the pre-release of a new framework called Skybreak, who shortly was renamed for Meteor. Eight months later the project had raised about US $ 11,200,000.00 from big names like Andreessen Horowitz, Matrix Partner, Peter Levine (former CEO of XenSource), Dustin Moskovitz (co founder of Facebook)…

Sitemap.xml

This week, let’s see how to provide a dynamic Sitemap.xml to help web crawlers index your site. If you don’t know what Sitemap.xml is it for, it’s a file with a list of pages of a site, used to inform Google and other search mechanisms about the site’s content. Web crawlers like Googlebot reads this…

Meteor SEO ( Iron Router )

If you don’t know SEO (search engine optimization), it’s about good practices, techniques or process to get better organic results in indexing. By organic I mean, not paid, natural. http://en.wikipedia.org/wiki/Search_engine_optimization Google offer a good practices guide to improve your indexing results  http://static.googleusercontent.com/media/www.google.com/en//webmasters/docs/search-engine-optimization-starter-guide.pdf In this post we’ll talk about four basic points of this guide, titles, meta tags,…

Meteor Internationalization with tap:i18n

In this post I want to share a simple way to internationalize Meteor applications with tap:i18n. First at all, include tap:i18n package : meteor add tap:i18n Now, create a new directory to keep your language files and tap:i18n configuration. This is the i18n.js file content: [code language=”javascript”] Meteor.startup(function () { Session.set("showLoadingIndicator", true); var userLanguage =…

Faceted Search com Hibernate Search

Coloquei à disposição um pequeno motor de busca escrito com Hibernate Search(Lucene) para indexar e realizar buscas, apesar de ser extremamente pequeno e simples, funciona muito bem, esse mesmo motor está hoje em produção servindo dados indexados de uma base de de quase 20.000.000 de registros, ou seja dá para o gasto. O desempenho é…