Skip to main content

Google+ Comments on your non-blogger site

Today +Google published a +Google+ based commenting system on +Blogger . This is what I expected so long. I hate when I need to read minified JavaScript but now I could get more stamina to this “awesome” digging. Finally I found the call with parameters 🙂

Read More

Related Posts:

Node.js – Database connection depends on environments

I hate when I need to use the same password on all of my computers only because I develop on multiple machines. For instance, I want to connect to the +MySQL database from my +node.js application , but my local configuration differs from the production environment (surprising thing is not it?).

Read More

Related Posts:

Google Calendar and Google Apps Script

Manage Overtime With Google Calendar and Drive with Google Apps Script…

First of all you need to know:

  • You can create events in Google Calendar
  • You can create recurring events in Google Calendar
  • You can create Spreadsheets in Google Drive
  • You can write scripts for you Spreadsheets in Google Drive
  • Your Google Apps Scripts can reach all of you data in other Google Documents

Read More

Related Posts:

Why I love Node.js

Yes I know, Node.js is the new Hype but I think it’s more than a simple overrated thing. Few years ago I met Ruby and it was love at first sight. I felt it will be the new era of development. Yes it is but not what I was expecting. One year ago a met Node.js and I felt the same but it was not only inflammation, it’s a true love. I’m a programmer. I know a lot of languages and I specialised for PHP but it’s too limited and boring for me today. So I started to use that new-old language, Node.js. It’s new-old because I use JavaScript day by day but not as backend application.

Read More

Related Posts:

Why I Use CoffeeScript

Yeah this is a reply post to Oscar Godson’s Why I Don’t Use CoffeeScript. I don’t have any problems with people who don’t like CoffeeScript or other similar solutions but I don’t like if someone cuts in the air with fake reasons and self made generalities.

Read More

Related Posts:

brunch – building HTML5 applications

Oh yeah! That’s what I was looking for. brunch is another framework with rails like app layout and structure and combining some of the very best existing frameworks.

  • Nice example (brunch todos)
  • npm package
  • Documentation (yes it’s a good point. Some of new products don’t have documentation)
  • Works well with existing VIM plugins and TextMate bundles
  • Has a Google+ page ^_^ ( come on, circle +Brunch ) no longer exists =(
  • Has an IRC channel at Freenode #brunch

Let’s create new, useful and featureful sites.
So check this site:

Related Posts:

New Stable version: Node v0.4.12 « node blog

ryandahl said:

Node v0.4.12 « node blog

2011.09.15, Version 0.4.12 (stable)

  • Improve docs
  • #1563 overflow in ChildProcess custom_fd.
  • #1569, parse error on multi-line HTTP headers. (Ben Noordhuis)
  • #1586 net: Socket write encoding case sensitivity (koichik)
  • #1610 Remove DigiNotar CA from trusted list (isaacs)
  • #1624 buffer: Avoid overrun with ‘binary’ encoding. (koichik)
  • #1633 buffer: write() should always set _charsWritten. (koichik)
  • #1707 hasOwnProperty usage security hole in querystring (isaacs)
  • #1719 Drain OpenSSL error queue
  • Fix error reporting in net.Server.listen

read more

And also published a new unstable version.

Related Posts:

browserify – write client-side javascript server-side


Unifying your front-end and back-end codebases can be a harrowing experience. Regardless of your web technology stack of choice, you’ve probably created some server-side component which generated some front-end JavaScript for you at some point. I’ve created and used many tools that do such code generation, and I’ve hated all of them. This is why I’m soo excited to see node-browserify by prolific Node.js module author,James Halliday.

browserify is a node.js library which helps you share your back-end code to the front-end by enabling such features as:

  • a client-side require() method
  • being able to load npm packages
  • a middleware system for code generation:
    • minify
    • uglify
    • ES5 compatibility
    • fileify ( wrap static files or directories in JavaScript methods )
  • a CLI tool for creating stand-alone bundles
  • full integration with node’s httpServer and Express
  • browser-versions of certain core node modules such as path, events, and vm

Browserify does a great job of simplifying the process of sharing code between the browser and server by building on top of existing infrastructure and providing some great new features that play very nice with node.js

I needed to build a library that would operate dual-sided ( front-end and back-end ), and I choose to build it server-side first and then use the browserify CLI tool to port it to the client ( and work as a standalone with no server dependencies ). The entire process worked out much better then expected and I’d recommend trying it out for your next JavaScript project.

If you’d like to see an example of node-browserify in production, you can check out Browserling, Mr. Halliday’s very own company which allows you to test websites cross-browser, in your own browser! I can only imagine what crazy libraries SubStack will think up next.

Related Posts: