My Journey With a Ninja

Published on:
Tags:

I recently met a “ninja” in the form of a simple Java web framework Ninja Web Framework. I had fun trying it out so I figured I needed to write something about it to show what I think is good and other parts I feel I need to rant about.

What I liked

  • Dependency Injection

    I prefer to use examples to explain. In ninja a controller could be implmented as a java class say ApplicationController and using the router , you could route a request to a method of this controller.

         class ApplicationController(){
    
          public Result getIndex(){
    
              return Result.html();
    
              }   
          }
    

    In a scenario where you have a form whose action is routed to this method and this form has inputs with names which can map to fields of any object such as user , the User object can be automatically injected by ninja if you wrote the action method as

         public Result getIndex(User user){
             // do what ever you want with the user
             // no need to deal with request 
             // makes it easier to test this method
             }
    

this simplicity brought out a few advantages that made me excited about working with ninja framework. * The main advantage of doing it this way rather than work with request

objects to get parameters is that the code becomes easily testable.

As I continue to explore the framework I will update this post.

Mafutago Going Places

Published on:
Tags:

The mafutago team has come a long way from Garage48 from Kampala all the way to Barcelona at the Mobile Premier Awards  and I glad to say the the launch is soon.

The website has been improved , you can view it here mafutago and there you can find links to download the beta version of the andriod app . The team is working round the clock and will be launching soon.

Here is a pic of the team in Barcelona

mafutago going places

 

Mafutago Reaches Beta

Published on:
Tags:

mafutago has reached the beta phase …. with a new look for the website and an andriod app coming out soon   try it heremafutago reaches beta

Mafutago

Published on:
Tags:

I was lucky enough to attend Garage48 sometime this month as a developer and it was enriching and fun but that is not the best thing that came out of there. Put aside the other numerous wonderful projects I choose to work with Mafuta go to bring the idea to life and I have not looked back .Basically the application is web and mobile solution to provide users with accurate information on fuel prices and services at fuel stations with a focus on Ugandan suburbs . The project is still in alpha phases but will soon get a full rollout .I am currently working on the web side of the business this is a sample of what I have so farmafutagothis is still work in progress but u can always show your support viewing our facebook page .

 

Powered by Google App Engine

How to Unlock the ZTE G-S213 or ‘the Warid Daboline’

Published on:
Tags:

Do you own one of these?

How to Unlock the ZTE G-S213 or 'The Warid Daboline'

Follow these steps  to unlock you ZTE G-S213 or “Daboline”

1.Identify its  IMEI  ( either type *#06# or open the phone and look under the battery the IMEI is a 15 character code)

How to Unlock the ZTE G-S213 or 'The Warid Daboline'

2. Go to http://www.wintechmobiles.com/tools/zte-unlock-code-calculator/  enter your IMEI and u will get  2 other codes 

 

 a NCK Code  and a SPCK/SP Code  .

3. Remove both sim cards and start your phone then enter the following code *983*8284#   

4.If the code is correctly entered the phone will ask you for a password that is when u enter the NCK code u obtained   if the code is accepted your phone has been unlocked .

 

 

 

How to Unlock Huawei E160 Modem

Published on:
Tags:

How to Unlock Huawei E160 modem

Having successfully unlocked my Huawei modem I was so excited I decided to blog about it so that i do not forget and I can have a reference point for others.Here is how I did it:

Firstly to unlock the modem you need to get its IMEI number which is a long code behind the modem such as “354765037712570”
the next step is to visit this webpage http://a-zgsm.com/huawei.php
and put in your IMEI number where you will be given an unlock code such as “61955552”
then connect your modem to the computer
the next step is to download a piece of software from http://www.nextgenserver.com/files/huawei_code_tool.exe
in that software as shown in the picture click the button to scan for huawei dongle and then select a port from the drop down list and add the code to the text box for the unlock code and click send code . Once successfully unlocked you will get a message that code accepted.

How to Unlock Huawei E160 modem