Welcome to WegnerDesign

by Joe Wegner

Joe Wegner

Web Guy. Node.js Guru. Database Architect. Javascript Lover. Frontend Designer. Backend Developer. Efficiency Builder. Magic Maker. Photo Blogger. Startup Founder. Really Cool.

Blog

node-session

I'm a pretty big believer that less is more when it comes to web servers - that's why I started using Node.js in the first place! So, while there's plenty of great Node.js web servers out there, I would (almost) always recommend starting from scratch, and adding features as you need them. That's why I built node-session - it's a great tool for the barebones Node.js web server, which will allow you to store user sessions. And the code is simple, to boot!

var session = require('./node-session.js'); //Start your http server however you like. Imagine the code below is inside of your server loop var yourSession = session.start(response, request); //response and request are the res/req variables passed from http.createServer() yourSession.testValue = "A session variable" //Create a session variable called testValue

node-multipost

Node-multipost is an easy-to-use Node.js interface for sending multipart/form requests. Multipart/form requests require a pretty wacky format, which is very hard to read and even harder to generate via code. Node-multipost takes all the difficulty out of multipart requests.

var multipost = require("multipost"); var postFields = [ { name: "field1", //Required value: "thisisfield1" //Required }, { name: "field2", value: "thisisfield2" } ]; var req = new multipost("http://www.wegnerdesign.com/testFiles.php", postFields); req.post(function(res) { console.log(res.data); });

fileDrop

Have you ever used FTP before? How'd you do it? Filezilla? Your browser? Some other crappy FTP client? Doesn't matter - one way or another, I would bet money that the experience sucked. **No one likes FTP.**

fileDrop was built to ease the pain for businesses that require an easy method to move files back and forth. First and foremost, fileDrop's interface **just makes sense**. On top of that we've got quick uploads and downloads, secure transfers, easy management, intelligent notifications, popup previews, and tons of configurations for all you overbearing sys admins. Don't make your clients deal with your crappy FTP system - give fileDrop a try.

node-ass

Advanced Style Sheets for Node.js. LESS and SASS have been all the craze recently in web design, but the problem is that they're fat. Sure, relatively, they're not that bad - but certainly they slow down your load times. Node-ass is a solution for node.js based web servers that allows the server to do the parsing of the advanced style sheets, rather than the user. At just 3KB for the entire git repo, node-ass is perfect for your node.js project! Check out the super simple syntax below.

/* These are your CSS rules */ rule all-box-shadow { -moz-box-shadow: %1 %2 %3 %4; -webkit-box-shadow: %1 %2 %3 %3; box-shadow: %1 %2 %3 %4; } /* And then your regular CSS layout */ #shadowed_box { all-box-shadow: 5px 5px 5px #eee; }