Archive for the ‘Uncategorized’ Category

MVC framework in php

Friday, August 3rd, 2012

As like human civilization improves day by day, as like technology upgrading day by day our very own open source web technology PHP is also civilizing day by day. And MVC framework bring a new revolution in php programming language. In our conventional php application, we have mixed all the layer of application together. These layer are Model, View, Controller. Model represent the database and its table, so anything which required database interaction is taken care by model. View represent the presentation or  more popular word UI for your web application, which mainly deal html and design related things and last Controller represent the logical part of your whole application. Starting from the request handling to response output back to client is taken care by controller.

So what is the advantage of MVC on primitive php coding style ?

Answer is its make your life easier, and your coding much more easier. As we all know that our industry follow the agile development pattern. So, very frequently you need to change your tables, design as well as logic too. Just think if these are very separated from each other , it means if you want to change the UI you don’t have to bother for or without disturbing other thing (controller & model)  you can do it neatly and easily. Same thing happen for controller and model. Far more it not only increase the flexibility of code it also give robust structure to your code. Apart from those utility its also increase the most important thing in web world i.e. security . By help of MVC framework we can just secure our table by pushing our model behind a firewall. It combat with the sql injection from front end because it has inbuilt data sanitization. Even bad request or force request can be handle by our controller efficiently. Its give you various choice of security for your web.

MVC framework

MVC framework

So, my friend why you are still following the old coding style switch to MVC style and make yourself more stylish. There are number of good MVC framework in php such as CakePHP, Zend, YII, Codeigniter etc. These are really interesting and easy to adapt framework.

– Amar

Debugging techniques required for PHP Web Application.

Friday, August 3rd, 2012

Friends, to be a good developer you need to be well in debugging your code. Writing code is the most easiest task  for a developer, challenge start from debugging. So there are many way of debugging your php web applications. Before you start your debugging you need to chose appropriate tools. The IDE which help me lots for debugging my php application is Nusphear by configuring php debugger on it.

Please check these links

http://www.nusphere.com/products/php_debugger.htm

for more details.

It help you to debug line by line. If your application have some syntax error or fatal error you can find out that place easily as the browser itself show you the place, but what will you do when its giving logical error or show erroneous data. By conventional process echoing variable value in different line is a tedious job which give lots of complexity as per the size of the project. But using debugger you will save lots of time in debugging. In same way if  you facing some JavaScript error  there is a very good debugging technique by using google chrome, please see this link

If you have extensive experience to javascript debugging you can debug in firefox even but firefox doesn’t have any debugger addons for javascript as like Google chrome. So try to adapt new technique of debugging, it definitely double your productivity.

php debugging

php debugging

-Amar

Building intellectual property

Friday, July 27th, 2012

For a product based company, their product innovation is their IP and possibly unique selling technique. I heard many times from many entrepreneurs, service companies does not have an IP. Being a founder of a service/consulting company, I was finding many days how to develop an IP.

After a long days of study I found the answer.  It comes with experience and domain expertise. Let me explain how. Your organization may have a set of experienced people who have domain expertise in three different domains.  May be, in the following vertical –  medical, insurance and hospitality. Those set of people have in-depth  knowledge in those industries and have implemented many software for them. So they know in and out about those industry and processes. They can guide those client companies how to improve their process and how software can increase productivity, cut cost etc.

Now you may have a different set of people who are good at new technologies available in market, in a word cutting edge technology. Those technical people once tagged with those domain experts, create an excellent unique service for your clients. You will find those services are innovative and unique in many ways since they are built to facilitate the process improvement of those specific industries.  This unique service  can be defined as intellectual property for a service company.

- Jay

gTalk integration to your web page

Sunday, May 29th, 2011

I found it very interesting to add gTalk to profile page of anybody in their personal site and/or in any social network site. That can be an added feature for social network site. It increases the interactivity and visibility. Its very simple and easy to create the gTalk badge. You can go and visit http://www.google.com/talk/service/badge/New

Enjoy !!

-

Jay

How to create a mobile enabled website

Monday, April 4th, 2011

We can follow the following steps to make our site mobile friendly.

1. We may create a subdomain/folder for the mobile version. May be mobi.website.com. Via $_SERVER['HTTP_USER_AGENT'] we can track the thin clients/browser and thereby we will redirect the request to that subdomain.

2. Mobile site needs the following modification

mobile friendly websites

How to create a mobile friendly website

i. Changes all URLs to “mobile”-ized URLs.

ii. Strips all linefeeds, carriage returns, and tabs.

iii. Trims multiple spaces down to one (HTML doesn’t recognize more than one space in a row).

iv. Changes any anchored images with alt text to plain text anchors.

v.  Strips all stylesheets, images, inline styles, scripts, and comments (including RDF).

vi. Tells search engine robots not to index or crawl the mobile version of the site so as to not create duplicate listings.

vii. Every page should have output buffer (ob_start) on.

CMS (like wordpress) can also be modified into a mobile enabled version easily. At the same time we can create CMS which user can update the contents and that can be mobile enabled.

Mobile application development

Friday, January 21st, 2011

Just like on other mobile platforms, Android application development assumes great significance owing to its rapid growth rate in the mobile space. Apart from iPhone, businesses are looking to capitalize on Android development for targeting their niche markets. With experienced Android developers, expert in open-source and mobile environments, Appsbee offers a complete mobile solution for your business.

B2C & B2B ECommerce development

Friday, January 21st, 2011

B2B ECommerce Solutions – B2B ecommerce websites have specialized requirements in terms of functionality and content and there are many turnkey solutions available in the market for B2B needs. Our team of developers is experienced in B2B ecommerce development and can provide custom ecommerce solutions for your specific requirements. Whether its supply chain management (SCM) or customer relationship management (CRM) solution, our ecommerce development team can develop a custom ecommerce application like – an inventory management solution, knowledge management system or an online product catalog for your corporate requirements.

B2C ECommerce Solutions – We have considerable experience in developing consumer facing apps in the retail segment and can provide secure end-to-end B2C ecommerce solutions based on your requirements. Our ecommerce solutions encompass professional ecommerce website development marked by easy but robust functionality, enhanced user experience design, usability and search engine friendliness. Integrated with a variety of popular payment integration gateways and custom shopping carts, we offer cost-effective and efficient B2C ecommerce solutions for your business.

Professional Web Development Services

Saturday, November 13th, 2010

For over ten years,Appsbee has been providing web development services to a variety of clients around the world. Those clients come from diverse industries including real estate, retail, e-commerce and finance. Over the years our web design and development services have grown into a company capable of delivering end-to-end web solutions, from conceptualization to final software. Our team of 150+ developers and designers are experienced in harnessing the potential of the web by using the latest technologies.Appsbee is a professional web development company with a customer-driven approach and focus on ROI enable us to deliver unparalleled service which has contributed to the success of many leading global brands.