Facebook Connect Social Widget Comments Box for your website

Facebook Comments Box
Yesterday at the facebook developers blog the social widget for facebook connect introduced. This social widget option will enable you to connect your audience via facebook in a much more simpler and easier way. Previously I wrote 2 different way to attach facebook connect to your Blog, yes it worked but still had issues with caching plugins like WP-Supercache and similar products. I’ve not tested this product yet and the Instructions are pretty much for general websites. So maybe you might want to test it out. The Comments Box is a great way for any website, blog or photo gallery to add social comments to their page in just a minute with a few lines of code. We want to help bring you social widgets that make it easier for users to communicate and share across your site and with their friends on Facebook.

With the Comments Box, Facebook users on your site can comment on your content, post those comments to their profiles, and share them with their friends on Facebook. The Comments Box allows non-Facebook users to make comments on your site as well. And via our APIs, you can access related comments made on Facebook as well to bring the conversation together.

Read moreFacebook Connect Social Widget Comments Box for your website

Prevent MySQL sql injection attacks using GreenSQL database Firewall

SQL Injection, yes It’s often happens around the web. In fact in real life example a lot of Content Management systems were affected by this weakness. Technically there was no software to protect or check SQL queries for suspected activity. Recently an open source software called GreenSQL offers a firewall solution for MySQL queries. It’s an Open Source database firewall used to protect databases from SQL injection attacks. GreenSQL works as a proxy for SQL commands and has built in support for MySQL. The logic is based on evaluation of SQL commands using a risk scoring matrix as well as blocking known db administrative commands (DROP, CREATE, etc). GreenSQL is distributed under the GPL license.

How it works?
GreenSQL acts as a reverse proxy for MySQL connections. It means, that instead of MySQL server, your applications will connect to GreenSQL server. GreenSQL will analyze SQL queries and forward them to the back-end MySQL server. Maybe this diagram will help you to understand the concept of it

Read morePrevent MySQL sql injection attacks using GreenSQL database Firewall

How to Make Efficient Twitter Background that Fits Most of the Screen Size

twitter logo
Twitter is not only become a Trend, it’s also an unique marketing and communication platform. Twitter comes with few preset themes, yes they have some glitters but those are used by millions of people. So why not make your own Twitter background Image that will show off your uniqueness, at the same time give different and outstanding impressions. Well, design is easy for the designers to do but not as easy for anyone to implement it. I am not a designer and I only know a little bit of here and there, so it was pretty tough for me. Anyway, you should know there are almost a hundred types of Screen resolutions peoples are using and almost impossible to fit the background for any screen size. So you need to narrow down the audiences. Now a days most people uses screen resolution higher than 1200 pixels. So we should narrow down and try to make the screen work for 1200 or higher pixel display. I’ve seen several sites those who made twitter background image of 2048 pixel width. A jpg file with that wide view would be more than 400KB easily.

Read moreHow to Make Efficient Twitter Background that Fits Most of the Screen Size

Most anticipated sci-fi action movies of year 2009

Sci-Fi/Action movies 2009
Which are the most anticipated sci-fi action movies of the year 2009? I’ve always been fan of sci-fi and action movies. This year a few action movies and their sequel are coming out. All these movies made a huge fortune before because they have been made unbelievably realistic even for computer generated graphics. Specially for Transformers the computer generated graphics was so intensely realistic that it could made a person believe that they really exists. Films directed by Michael Bay are usually like being shouted at by a halfwit for two and a half hours, and Transformers is no exception. Trust me whenever I have some time on my hand I watch the Transformers movie. So lets get into some details of these movies.

Read moreMost anticipated sci-fi action movies of year 2009

PHP 5 Object Oriented Structure

PHP 5 Object Oriented Structure

Those who are still figuring out PHP 5 object-oriented structures and implementation, this ebook/presentation might be a good start for them.

What’s it is about OOP anyway?
In a traditional sense, most PHP developers write when their first coming into the language is called “procedural”. In this kind of code, one thing happens after another and the most exciting thing that could happen is the inclusion of another file. Functions are scattered everywhere and not organized, a library of them sometimes used to help sort out things a bit faster. There are well-known limitations to this kind of programming. Procedural code tends to get messy pretty quickly when working with the large-scale site. Usage of included files helps, but it doesn’t really give you a proper solution to the problem.

Read morePHP 5 Object Oriented Structure