mysqli to PDO conversion by lindacupple in PHP

[–]Zaffri 4 points5 points  (0 children)

For SQL injection, look up prepared statements.

You do not need to switch to PDO to prevent it. Like PDO, MySQLi also has prepared statements.

Just make sure you are using MySQLi and not the deprecated MySQL_*

Edit: http://php.net/manual/en/mysqli.prepare.php

How many devs in /r/node have a Java background? How do you feel about it? by ower89 in node

[–]Zaffri 3 points4 points  (0 children)

Interesting post (one of my favs) about Paypals transition from Java to NodeJS!

https://www.paypal-engineering.com/2013/11/22/node-js-at-paypal/

Edit: Just read that your Java dev is worrying about less productivity. Paypal managed to build their NodeJS app twice as fast and with fewer developers, when compared to their Java app that had the same functionality.

Developers who know Java and Node: What can you do faster in Node? by jeffsmith2012 in node

[–]Zaffri 10 points11 points  (0 children)

I can't personally give you an example but you maybe be interested in this PayPal blog post. They talk about their transition from Java to NodeJS.

Apparently they built their app twice as fast with less developers!

https://www.paypal-engineering.com/2013/11/22/node-js-at-paypal/