Python Script – Learning the hard way!

I recently enrolled in a Python Online Course – although I’ve been using it for more than a year now, It was always good to go back to the roots of it and refresh the fundamental knowledge I have.

The online course I’m talking about is this:

It’s a very straight forward beginners guide to creating scripts using the platform. The author was great in explaining every detail and every output. He encourages learners to not copy and paste, but to actually code what he wrote on the site.


So whats in it for me? 

We’ll I’ve always been fascinated with automation using scripting languages. I find it “attractive” and “fulfilling” creating different scripts to automate a complex process – and Python is, if not the best, is one of the best there is. It’s so simple and yet so powerful. Extremely easy to learn – allowing developers to be creative with it! Some might not say the same thing, but I’m very excited just thinking about the things I can do with it.

I used it so far:

  1. Automated our side by side comparison generation.
  2. Automate my local application deployment.
  3. Web scrapping and putting them on a database (cannot give details on this one though).
  4. Simple Registration process using DJango

If you’re going to start it though, make sure you either have Notepad++ (if you’re on windows) or TextWrangler/Sublime Text (in Mac). Open up your terminals (Mac comes with python 2 – as of this writing). Something like this:


Some Tips:

  1. Start with a TextEditor – not a IDE that has intellisense in it. There is no fun with that. If you need documentation, use the pydocs!
  2. Pydocs <object> – Extremely Helpful!
  3. Python Editor Plugin for Sublime Text.
  4. Get Projects! Don’t just practice – do real stuff and contribute!

Join me in improving this comparison tool!


Happy Coding!

Menu App Ads Idea

What if you have a large screen, full of HD animations and pictures of your food menus where users can just use their own gesture to go back and fort on your menu? What if instead of having that large tarpaulin to display your menu, you have an interactive display to showcase them?

interactive_menu_using_leap_motion_-_Google_SearchI present, RemuAds – Restaurant Menu Ads. Still in the works but I’d like to share where Im at with it so far.


  • The application will have a customisable user interface where the administrator can configure their menu and put an HD quality or a 360 image (360 magic app) to showcase their menu.
  • 360 images and animation can be controlled by the user by using their hand gestures.
  • A QR code and a downloadable menu – with the same quality menu so that users can download the menu and put it on their mobile phones. They will be able to rate them accordingly tying up a more sophisticated rating system of food products.
  • Controls will be defaulted to 6 gestures of leap motions, this will allow the user use not just a single finger gesture, but can be any swipes available.
  • Optional – Device will be solar powered

Divulging to much information might not be a good idea, but you get the point.

Resto Menu App

Before I even join the udemy Android Tutorial class, I already created a tablet app that runs on android – that we sold back then to a restaurant owner here in Manila. I created it for my former start up company (Peppermint Software Labs) as part of our product line up.

The Application Design. Basically we need a tablet app where the customers can just order via the tablet, the tablet then will send the orders through the server that will display the orders via a screen on the back. The orders should be queued accordingly and should have the necessary information for the crew at the back to do the orders.

The Technologies. I used CI (CodeIgniter) for the backend application and Android Platform for the mobile application. We had an assumption to run this only in Android so no need to port this in iOS.


The Mobile Application version 1. It started as something like this, I used JQuery Mobile and PhoneGap Web Browser to launch the application – but as it turns out, it’s a bit slow. JQuery loads a lot of graphics to it’s components with the addition of bootstrap components. It killed the intuitively that I sold to our customer.  So I literally got back to square one and just settle first using the Android Native Platform.3The Mobile Application version 2.  Same UI concept but I used  Android Components. It wasn’t that straight forward and it almost took me 2 weeks to re-create everything from scratch and match it to what we presented to the customer (a tiring week that was).

restoappThe initial screen will ask for an admin account first. This will allow the technical staff to configure each tablet and point it to the correct server where the app will throw the orders data for the backend staff.

The Order Screen! Simple and elegant but quiet web-centric (influenced by my web development/ design perhaps?). Panels on the left are Categories and order list – these are floating panels that can be swiped out if not needed so that the user will have more room to appreciate the HD images of the menu itself.

4The Server  Application Itself. Backend App. Once the customer gives the order, boom – it goes to the backend, automatically saves it on the database and the app displays it (Ajax Polling).



It’s one of those not very sophisticated design for an application, but it does the job. It does what the owner wants. I even put delivery process, take outs, additional orders. One improvement though is table merging and that’s next on my list.

Overall, I had a great time doing this, even under the pressure of delivery. One of my goals is to become a full stack developer and this experience definitely propel me to understand the concepts behind developing an Android Application. It was really a great learning experience for me to begin with and I’m looking forward to doing more of these in the future.


Learning Android Development via Udemy

I’ve been scouring the internet for the past few weeks to look for a decent tutorial on Android Development as I have this itching idea that I wanted to do, but I realized that I  got to get a grip of the fundamentals first before doing so.

I found this very interesting free Android Development tutorial. The author gives a basic and fundamentalistic content of the development scheme.


From the installation, lifecycle, views, layouts up to the advance topics such as database, services and app deployment to google play, almost every fundamental information a newbie user need to pursue his development appetite, it’s all there.



I heard google will launch their own tutorial in Udemy – something to look forward to as well!

Feel free to register and learn from him for free!



Over the last couple of weeks, I’ve tried learning Python. It’s not as far from Java as someone would say, I’d actually call it one of the closest to the language. :) I learned the language for one primary reason, I want to automate a process. I have the logical design, process flow, but I don’t want to use my comfort level language which is Java cause… we’ll it’s to comfy.

1st off, when and where to learn. A great deal of tutorials are all over the web! There’s no excuse for not learning it, even the advance stuff. It’s all about using your creativity to use the language.

2nd, the tools. I’m using PyDev plugin for Eclipse – so Eclipse IDE plus a a python interpreter.


3rd, learn a web framework (optional). Well this is not really required. I tried learning Django and made a simple registration application with it. It’s not as simple as using CakePHP or CI, but it does the job. It has a “bake” like command that generates model that can be used in your application, as well as controller and view level (modules) scaffoldings. Very neat, but not as neat as Cake.


I had fun using and trying to achieve something with it, especially when I’m trying to parse through an XML file to get the nodes and its values. I’m trying to create a automated process to deploy our apps in a Weblogic console given an XML formatted or JSON file as a parameter. Simple and Straight forward. I’ll roll it out when the right time comes.


Get every new post delivered to your Inbox.

Join 1,267 other followers