Custom Search

softwares

Best IT Solution for SME Singapore

We are current on top of the next phase of IT solution for Singapore SME Companies, The solution we are building will eventually cut company expenses by 25% if not by half. And everything is going to be in the cloud so they can access all there business transactions everywhere in the world with speed and 99.99% no downtime. Business Chores like emails, company collaboration and all IT tasks will be done with ease.

They can also avail our cloud softwares to do computing of there Business Needs.

Payroll system Singapore

We are currently arming for a payroll system which is going to be deployed in Linux servers,  my first choice is asp.net mvc but I am not sure if it is supported on the engine that can run asp.net apps to Linux (forgot the name of the engine). So the second choice is PHP, since it is the closest language I am fluent in using next to c#. But building payroll system from scratch is a total pain how much more if I code everything from zero. I have to pick a reliable framework for this. I have a little  experience in cakephp and code igniter but I think this frameworks are still babys frameworks, I need a framework that has proven record and is used in enterprise level of applications. Enter Zend framework,  used by varien to build there magento ecommerce platform, hmmmm…. so I made my choice, zend.

I downloaded the manual documentation and yep, it is in mvc pattern.  So this thing is pretty easier for me.

Now the business analysis part, I am not an accounting Guy, I need to research on how payrolls flow, I really don’t care about this stuffs before.

I will be posting here the codes and scenarios as I move along with this project. Stay tune.

Any magento developer gathering in Singapore?

I don’t know if there are any hardcore magento developers based in singapore but hope to find some and have cool collaboration of what we are capable of doing when it comes to magento.

I really love how magento architected these whole thing, not just in they GUI of the admin panel, but also of the ease of coding, you can call any type of data from the database without using any SQL statement.  The only problem is the lack of proper documentation of codes or maybe I just didn’t find the right documentation.

I still can’t imagine myself coding all this stuff if i work from scratch.

How not to duplicate code example C# / Java

Not so good practice:

private static final double SENTINEL = 8;
int val = reanInt("Enter val:");
while(val!= SENTINEL){
  total+=val;
  val = reanInt("Enter val:");  
}

Good coding practice

private static final double SENTINEL = 8;
while(true)
{
 int val = readInt("Enter Val:");
 if(val == SENTINEL) break;
 total += val;
}

Avoid repeating codes in your program.

Handling Paging in Gridview in codebehind

Protected Sub OrderGrid_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles OrderGrid.PageIndexChanging
        OrderGrid.PageIndex = e.NewPageIndex
        OrderGrid.DataBind()
    End Sub

SOAP vs REST

asp.net MVC and castle project…

I was having a lot of hours wasted on an error “DeserializeElement cannot process element component” while trying to implement my asp.net MVC with Castle. After hours of brutally staring in front of my PC… I tried to review my web.config configurations and I’ve found out that I just have missed to end a tag… B…!!!!!