Sunday, April 6, 2014

Have you attended an elaboration meeting? One of my colleague emailed this video and after watching it, I found myself in one of the character in this short film. The Expert. 

I am not an expert but this video taught me what is the difference of a software developer compared to your bosses. And why, you shouldn't be defending what you think is better or sometimes right because you will never win arguments against them.


Monday, March 3, 2014

MyNBA2k14 MyTeam Mobile Line up

* 5 common (Pro - combined cards)
* Coach common (Support)
* Double Team rare (Support)

Building Tips: 

You don't need to have a high card on quick game, MyNBA2k14 adapts or give you opponents based on your card levels. If you have common cards then you are good to go , the game will provide a beatable opponent. 

You can do it all Common Cards and make it pro.

Don't upgrade your pro cards , just make it pro cards like combine 2 cards which has max level (level 10 on common cards) it will produce a higher stats.

Battle Tip:

* 1st pick - Always pick the weakest card if the round requires you 2 attributes - most of the time CPU choose high cards but sometimes weak cards but if only one attribute pick the highest stat.
* 2nd pick - has a high chance that CPU will choose lesser cards so pick your best one depends on the requirements
* 3rd pick - Choose high cards
* 4th pick - Choose high cards or to seal the win select one of the support cards , I chose coach (+10 on you) and Double team (-20 on opponent for Rare ) because they give higher rewards and penalties for you and your team.
* Or keep your support card until overtime period.
* Overtime period - most of the time i win in overtime period with the help of the support card

Download link for IOS device:
https://itunes.apple.com/us/app/mynba2k14/id719219018?mt=8&uo=4&at=11lu9j

Download using Amazon for Android:

http://amzn.to/1jQuG2r

Saturday, March 1, 2014

I have been playing MyNBA2k14 Myteam mobile game for months now , I once get banned for unknown reason but this post is regarding the network error messages that appear frequently on MyNBA2k14.

In order to fix this message, you just use one of the free Open DNS like Google (8.8.8.8) or OpenDNS ip addresses. On my end, it entirely fixed my problem after applying one of this DNSes. 

By the way if your looking for free VC you can checkout this Facebook page that post NBA2k14 VC locker codes.

Tuesday, February 25, 2014

Flappy Bird is a very simple game and it is very frustrating to play. If you haven't heard of this game you can get this via world wide web since the game author remove its high earning app from Itunes and Playstore. Weird ha?

Furthermore, Flappy Bird became viral because of known personalities in my country tweeting about their Flappy Bird score. Of course, their followers want to try that game too and the rest is history. It is now became a bragging rights if you score more than 100 points which is really hard to achieve.

Moreover, the game of Flappy Bird not only became popular but also a money making application. It was said that this game earns $50,000 per day for advertisement only. Yet, the author remove its app because of so-called criticism from other people which it is very hard to believe.

There are rumors that Nintendo is the one who requested that this game should be remove in Itunes and Playstore because of the same graphics used in Super Mario game. The only similarity I found is the green pipe but what the hell with that. It is only a green pipe! Nintendo shouldn't be greedy because some indie developer made it big time because of that green pipe which is not true, Flappy Bird became this big because it is hard and frustrating to play which other people find it worthy to share their score thru social media.

Now there are numerous clone of Flappy Bird uploaded every day in Itunes and Playstore, you shouldn't miss Flappy Bird at all.

Monday, December 2, 2013


Enough with Javascript
for a bit, I might be losing some touch in PHP so I'm going Laravel this time around.

How I'm using Laravel

Currently I'm using Laravel framework on building a RESTFul API after jumping from many different frameworks such as Slim Framework and Frapi. And this might affect my writing of this article regarding Laravel since I may not include some templating topics and other frontend stuff that Laravel can do.

What is Laravel ?

Laravel is like any other PHP frameworks such as CakePHP, CodeIgniter and Zend Framework. Of course it has it's own strengths and weaknesses but I'm thinking not to add that since it's the developers duty to find out what is lacking for him/her.

Laravel is Composer Ready!

I asked one of my colleague who is claiming that he is a "PHP master" and he can code PHP even if he is blind-folded. And when I asked him if he is using Composer and Packagist he says he doesn't know about those (sad face). Well anyway, I'm not saying all PHP developer should know about Composer but it is good knowing that you doing it in your project and Laravel is very Composer ready.

Imagine you can build Laravel application within seconds without copying and pasting additional plugins and getting it from all over the web. You can do it by creating a simple configuration file in JSON format and include your code dependencies and required plugins, then Composer can collate and build an app for you.

If your familiar with Yeoman for Javascript application , Composer is for PHP application.

Routing and RESTFul Controller

Actually this is one my favorite feature of Laravel, its RESTFul Controller. Since I'm developing an API, Laravel's approach of Controller really gave ease of doing some work and understanding on how this great framework works. 

If you notice I didn't mention routing well this two comes along with each other if you want a controller you need a routing code to activate or access it.

It really depends on you on how to use this feature of Laravel for me I use those HTTP verbs for API operation like if GET then get data and POST if inserting. You can set a get Controller and just show an html or create a POST controller which handles form submits.

Next Part

I will be tackling some information for authentication for controller and database migration topics.


Saturday, September 21, 2013

It's been a hell of a week on our current development with Sencha EXTJs. So too calm me down, I started reading and reading again and this is where I bumped with JSDuck.

JSDuck is Sencha's very own documenting framework, and I think they did a very good job on this one.

Before everything else, why document?

I really don't have any plans or any user story of having a documentation from our development roadmap and when I found JSDuck and its awesomeness, for sure there will be a one or two user story that will focus on code documentation.

And to answer my own question:

  • If you can document your work then your are doing a good job
  • If you can detail every part of your class properties and methods then you really know what is really happening inside out
  • If you document, you will find that some of your code is good or bad. Then you can start having some todos and refactor your work.
  • New people on your project can easily start on your development team with your documentation

So why use JSDuck?

Let me first show you a common page from Sencha Extjs documentation.


You can check the live example here: Ext.Ajax documentation

If you wonder how can you make this kind of documentation well it is very easy. If you have been doing this stuff in your development: 

/**
* @class TestClass
* This is a test class only
* @property String A property string
* @author Ronald Allan Mojica
**/

Then the rest is easy.

Here is the list of things that I think why JSDuck rocks:

  • Cool interface
  • Built-in search engine all over your code
  • Easy to use with your current comment tags if you have it already
  • Cool sets of new tags like @example @video and @markdown
With JSDuck, it will provide you intuitive controls all over your code with the comment section you made with your code base.

Let's get started 

First let's get JSduck in your system, since JSDuck is Ruby gem you need to have at least the latest Ruby on your system, if not then install Ruby first and key in the following command:

$ sudo gem install jsduck

And then next step is to locate your code and let's start using JSDuck.

In your root folder of your application , start documenting with the following code:

$ jsduck [class folder] --output docs --title [Your App Name]

The output option is where your documentation will be generated and the title option is for your documentation title.

And that's it! After that you can open the index.html inside docs/ folder with your browser.

JSDuck references

For more information about JSDuck you can check out their official wiki which has lots of informative details on various comments syntax. Click here.

Example.js from SenchaLabs

At first I really don't know what syntax to use to generate a more informative Class documentation but this example.js from SenchaLabs really help. It has lots of samples regarding property, markdown and a lot more.

Monday, July 8, 2013

Going to Ext JS is like diving into a very deep ocean where you only have flippers. But don't worry, you will not be alone. I will be accompanying you through the whole process. And I don't want to warn your regarding Ext JS because this is a fun stuff to learn.

If you knew some Javascript then  we are good to go. If you knew Backbone.js leave it, if you knew KnockoutJS leave it also because it will be a different world for you now.

We will be entering the Sencha Ext JS world once you take the red pill.

Before anything else, I will give you some tiny introduction about EXT JS.

The Framework itself

Ext JS is said to be the best Javascript framework ever built, it's not free if you will be using it for your company sake but it is free on GPL license. But this should not stop you from learning the best Javascript framework.

Why not go with jQuery UI?

If you thought Ext JS is like another jQuery UI then you are wrong, Ext JS is not just UI, table and grid widgets because you will not be handling just the UI itself but the data behind it. 

With the widget offering from jQuery UI, you might jump to that bandwagon but how about integrating some Restful Api on it and manipulate the legendary DOM? Then that will be the start of your code horror. I've seen lots of application that fall from jQuery code conventions.

On guard!

Ext JS has a very steep learning curve but it doesn't mean that it not possible. Once you get familiar with this MVC framework you will be just like walking in the park.