MongoDB basics and tips with PyMongo

I've traditionally worked with MySQL databases, they are really powerful, but... sometimes it gets really complicated with long and messy SQL Statements for storing simple data... Maybe that's because we are just using the wrong database schema. When I first saw JSON compared to XML files it was like night and day. JSON is much more simple to use,…

Read More

Processing external js file with php

Most javascript files don't need php because they work client side and with the DOM but there are some particular cases in which it can be usefull. For instance, with some string translations, client info, selective script loading, etc... When the script is only used in a particular page it can be written inside that page, there is no need to exter…

Read More