blog

Dream. Dare. Do – that is Suyati’s work principle in a nutshell.

Apr
28
2014

Yii and Phalcon - A comparative study

Introduction In this blog, I present an in-depth, comparative analysis between two top MVC frameworks, YII and Phalcon for PHP. Factors like performance, ease, database handling, ORM and more, have been used to rate them. The intention behind this exercise...

Nov
20
2013

How to configure URL rules in YII framework

Introduction YII URL router is quite powerful and does two main tasks: it resolves URLs into internal routes and creates URLs from these routes. Let's try to understand how to configure application rules by simple example. Let's begin As a first...

Nov
18
2013

URL rules at runtime in Yii

IntroductionWhen you are developing an application with pluggable module , you  need to somehow inject your module-specific rules into an existing application.Set-up your application1. Create new application using yiic webapp.2. Add .htaccess to your webroot.Options +FollowSymLinksIndexIgnore */*RewriteEngine on# if a...

Sep
30
2013

LineControl - The JQuery Text Editor Plugin

Introduction: LineControl is a Free and Open Source Jquery Plugin that allows you to add a beautiful, responsive and fast online Text Editor to your web application/site. LineControl is designed to work with Twitter Bootstrap and as a Jquery Plugin....

Aug
30
2013
  • Category:

Magento: Custom configuration fields

Magento, simply is an open-source ecommerce web application. It is a feature-rich eCommerce platform built on open-source technology. During the development we have a lot of things those are needed for configuration by an admin user. In Magento we can...

Aug
02
2013
  • Category:

Wordpress get_posts method and 5 different usages

The get_posts method: The very common and appropriate use of this method is to create an array of posts based on given set of parameters. It will fetch a list of recent posts matching this criteria. This method can be...

Jul
31
2013
  • Category:

MySQL Optimization: Queries and Indexes

There are many ways to optimize MySQL. I think, understanding the basic issues and discussing the fixes itself would be a great read and that's what has been the effort here. Let's see how to increase the perfomance of MySQL...

May
05
2013

SQL Injection - prevention methods in Yii Framework

“SQL injection”, the word is so familiar to the world of Web! What does it mean? It is a type of code injection that uses vulnerability at the database level and allows executing arbitrary SQL allowing malicious users to carry...

Implementing your own 404 handler in Yii

In Yii, the error handling is very flexible, so we can create our own error handler for errors of specific type. Here, we will handle a 404 not found error in a smart way; We will show a custom 404...

How good is HTML5 for SEO

The launch of HTML5 has simplified many tasks, but the same time it adds another layer of complexity in the area of Search Engine Optimization(SEO). What is SEO? In general It is the process of getting traffic from the "free",...

Mar
02
2013

How Yii framework saves you from Cross Site Scripting (XSS) attack

Yii -Yes it is is a high-performance PHP framework best for developing Web 2.0 applications. Cross-site scripting (XSS) is a kind of vulnerability which allows one to inject a client-side script (say, Javascript) in a web page viewed by other...