Posts

Showing posts from May, 2013

IPhone Applications look better than Android

When the Facebook iPhone app was benchmarked with the Android operating system app about a year ago, a quick evaluation initially was deduced that even organizations with massive development teams such as Facebook or MySpace did not create an Android operating system app that was anywhere close to the iPhone comparative. At the moment there was nothing that was better than the iPhone app, the android Symbols look old, not properly scaled and the colours were not reliable with the Facebook or MySpace website or Android operating system design, search required two clicks instead of one as for iOS and in getting notifications , hyperlinks started pop out up the web browser. Ever since then the reason why there is still much difference is because Apple is so brilliant in terms of design and strong user interface IPhone is expected to look better than android initially because The iPhone SDK was originally designed with one main thing in mind; Total Control of the user experience by The app

Battery Saver Apps for Android Phones

Image
Do you want to find a solution for saving battery of your Android phone? Looking for a perfect solution? I also wanted to find the solution for the same.So,I searched for the battery saver apps for android phones and I found many solutions, but among them the best that I liked are given below. These are the apps that saves your battery by intelligently and extends your battery life. JuiceDefender – Battery Saver It is a powerful and easy to use power manager app that also extends the battery life of your android device. Battery Defender – Battery Saver It is very easy to use. A battery saver app that extends your battery life. Easy Battery Saver It is a powerful and easy to use power manager app that saves your battery by intelligently and extends your battery life. One Touch Battery Saver It provides “power saving” mode to activate the mode if the power is insufficient in your device. Battery Dr saver + a task killer It will improve and max your battery life. GreenPower Battery Saver

Apache X-Forward-For settings for behinding reverse proxy

Add following settings into your httpd.conf or the configuration file in sites-available that linked to sites-enabled. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy  SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded  CustomLog "logs/access_log" combined env=!forwarded CustomLog "logs/access_log" proxy env=forwarded After saving the settings, restart your httpd and you should see the real client IP in access log.

How to Customize Google Maps in Joomla

The process you are going to view below will walk you through how to add Google Maps into your Joomla powered site with ease and simplicity, providing guidelines and on how to handle the implementation of the plug-in on your website by yourself. Google maps are provided directions to your place of business or to an event you may be promoting is common practice. Adding a highly configurable Google Map to your website is just like taking your webpage or your business one step further, allowing people to get directions and see exactly where you are on their mobile device and PC with ease at anytime, from anywhere in the world. We're going to use a plug-in called 'Plug-in Google maps'. Here's how you do it: Plug-in Google maps from the Joomla code site. It’s a long list but you can use the very first file. In the administration area of your Joomla site, go to Extensions >> Install / Uninstall and upload the file to install. Sign up for a free Google Maps API Key. It’s

Practical PHP Tutorial - Home Page

Chapter 3 Home Page, first page. Here is the plan: A column in left side content comprising Logo and Navigation List A right side container that has the page's main content A footer that has immediate links We are going to use Table Layout to achieve this. You can use relative, fluid or other layouts if you want. But for following the tutorial we are doing table layout. Lets start with the basic html syntax. <!doctype html> <html> <head> <meta charset="utf-8"> <title>My Trading Center</title> <link href="/styles/style.css" rel="stylesheet" type="text/css"> <script src="/scripts/jquery.js" type="text/javascript"></script> <script src="/scripts/script.js" type="text/javascript"></script> </head> <body> </body> </html> I hope you understand this syntax. Again, if you are not familiar with h

Practical PHP Tutorial - Project Layout

Chapter 2 As I said in the introduction, we are going to develop a simulation of a online stock trading system. A very good project that helps us to cover every aspect of php. PROJECT FOLDERS Create a folder in you root directory named OnlineStock or anything you like. This is going to be our project folder. From now on I will refer this folder as root folder. Create the following folders in the OnlineStock folder. Also create respective files in the OnlineStock/ scripts/ script.js jquery.js styles/ styles.css images/ common/ index.php Note: All the folder names are recommended to be in lowercase only. This will ensure that users will not have difficulty in typing the url, as the php servers are really case sensitive. Scripts Folder will contain all the javascript files. The scripts file is created by you. You have to download the jquery.js javascript library. Please download the latest module from here . Styles Folder will contain all the css files. Images Folder accommodates the i

Practical PHP Tutorial - Configuration

Image
Chapter 1 Editors Text editors for php can be as simple as notepad and as sophisticated as Dreamweaver. Its you wish. But I prefer to use  webmatrix  by Microsoft or  SublimeText . These are really simple to configure and you. Or you can use  Notepad++ . The latter is simply a syntax highlighter. Servers Configuring server is a process needed for running php. Php is server side language. We can use following servers that provide facilities to host php and render them. XAMPP for Windows/Linux/Mac XAMPP is a popular server, supports all platforms, that packages all that we require PHP binaries -latest xampp has latest php binaries. phpMyAdmin - that is used to manage the tables and databases in MySQL MySQL - contains our databases FileZilla - and FTP manager that required to upload file to server(not this local server, but to your domain). Every prefers it as has everything in it by default. You can download it  here . WAMP Server It is a sub package of xampp, but it is only for Windows.

Practical PHP Tutorial - Introduction

Chapter 0 Hi friends! Welcome to do some practicals in PHP. Searching for a tutorial that guides you through the features of web developing? Here you are, I am going to walk-through you in developing a fully working website constructed using HTML and PHP. 'course this includes CSS and some scripting. For better understanding, we will be developing a web application that simulates a typical Online Stock Trading system like ebay. Before we start, lets prepare a checklist that will ensure our progression in web development. A Server (I will tell you how to configure a one) Any text editor Cool! A long list(?). Well, whenever you are ready, let's dive in! If you already know HTML, CSS and JavaScript, you can go directly into developing Or you can do some research in them at w3schools  and come back

For or Foreach? PHP vs. Javascript, C++, Java, HipHop (update: HHVM v2)

Lessons learned: Foreach is 4-5 times faster than For Nested Foreach is 4-5 times faster than nested For Foreach with key lookup is 2 times slower than Foreach without C++ is 60 times faster than PHP running For/Foreach on Arrays Javascript is 2-20 times slower than C++/Java running For on Arrays HipHop is currently no alternative to C++ Using a better CPU makes the code 4-5 times faster Here is a sample script, running on a 1.4 GHz machine with PHP 5.4.0: // init arrays $array = array(); for ($i=0; $i<50000; $i++) $array[] = $i*2; $array2 = array(); for ($i=20000; $i<21000; $i++) $array2[] = $i*2; // test1: foreach big-array (foreach small-array) $start = microtime(true); foreach ($array as $val) { foreach ($array2 as $val2) if ($val == $val2) {} } echo (microtime(true)-$start)."\n"; // test1b: foreach big-array (foreach small-array) $start = microtime(true); foreach ($array as $val) { foreach ($array2 as $val2) if ($val === $val2) {} } echo (microtime(true)-$st

5 apps that Make Your iPhone Secure

Kryptos (for Secure VoIP calls) Most politicians, tycoons and government officials discuss confidential and top secrets on mobile phone calls, therefore they often employ the use of Kryptos, it gives a service that enables you make calls over an IP (internet protocol), in such a way that your privacy is protected and no one would be able to hack into your calls and listen to your conversation.For you to use this application, the two parties must have installed the application installed on their iPhone to enjoy this military grade encrypted phone calls. I believe the application is free, but I think the service cost a little, but not too much. Norton Snap (secure QR Code reader) This application is a code reader application, it enables you to scan bar codes with our phone camera, decode the codes and automatically check if the links are not malicious links set by hackers and criminals. Hackers and criminals may encode a malicious link into a QR code using various hack tools on the int

Keep updated yourself with business executives

Image
Do you want to keep in touch with the business biggies? If yes, then ExecTweets is the right place for you. It is a great source that collects & provides the tweets of top business executives and IT professionals. Its  very easy way to keep in touch with the business biggies.You will get all at one place. Contains 1) Tweets of top business execs. 2) Hot IT topics. 3) Very Nice Executives Communities 4) Get in touch with all execs at one place Keep in touch with ExecTweets Find & follow top business execs on twitter Website URL :     ExecTweets Follow it    :   @exectweets

Drupal 7 View Modes - Various ways to See your content

Drupal 7 uses an advanced feature ‘view modes’ which enables proper presentation of data across a website. View modes were previously available on Drupal 6 but the focus has been changed in Drupal 7. API for other modules has been introduced in Drupal 7. This allows modules to register Entity types. This is a functionality that works well in creating entities such as like, comment, user and taxonomy. There are several related fields attached to entities. View modes allow defining great themes for content. A Drupal Entity is the foundation of view modes. There are entities that represent singular things and properties. When the question of a user arises, a single entity represents a single user on the website. Information like username, email address and password are contained within entities. Every field in Drupal allows users to collect data in ways more than one. Drupal developers can add multiple fields for users by collecting required information. Previous Drupal node view modes en

Few Things Developer Should Know Before Starting iPad App Development

Apple Inc. has always been a market leader when it comes to innovation in the field of smartphones and tablets. While Android OS has given Apple stiff competition, the company isn’t one to stop and ponder. It is innovative and lives by working on newer technologies. The iPad from the trusted stable of Apple has been a show-stealer in the tablet market encouraging several players to venture into iPad app development. There are thousands of iPad apps that are listed in iTunes and many more are being added every day. If you are also one of the newcomers who want to establish your foothold in the bustling iPad market, you should start by knowing a few important things about iPad app development. Get a Mac – The most essential requirement to become an iPad app developer is to get a Mac. Since you are aiming to build an app for the Apple operating system, it is only obvious that you use a Mac for the purpose. If you do not have a Mac, the first thing you should do is invest in one. Play w

7 Modules- Making your Drupal website responsive and more mobile friendly

Here we will discuss about the seven modules that plays an important responsibility in creating your Drupal 7 website more responsive and more mobile friendly. It is now become very important to cope with the size of the handheld devices used by the people to cater their needs. Adaptive Image: Adaptive Image is a very helpful module that manages your site image field considering the appropriate device version. Here you are just required to enhance the adaptive outcome for image style plus specify some breakpoints. Picture: The picture is a back-port of the Drupal 8 Picture module. Basing on the device competences it helps in delivering alternative image sources by using HTML5 picture element. This will avoid the act of downloading large images. Retina Images: Retina Images are the last module related to image. It uses high pixel density displays which make your images crappier than normal displays even if the image resolution is not good. Retina Images resolve this problem by offering

Sending Mail from Localhost

Image
For this solution you requires sendmail.exe (Its a CLI executable  which accepts email from PHP, connects to an SMTP server and sends email). Download the sendmail.zip and follow the steps given below: Step:1 Configuration of sendmail file First of all create a folder named “sendmail” in “C:\wamp\”. Now extract these 4 files: “sendmail.exe”, “libeay32.dll”, “ssleay32.dll” and “sendmail.ini” in the newly created folder. Open the “sendmail.ini” file and you have to configure it as following smtp_server=smtp.gmail.com smtp_port=465 smtp_ssl=ssl default_domain=localhost error_logfile=error.log debug_logfile=debug.log auth_username=[your_gmail_account_username]@gmail.com auth_password=[your_gmail_account_password] pop3_server= pop3_username= pop3_password= force_sender= force_recipient= hostname=localhost Here, no need to specify values for these properties:pop3_server, pop3_username, pop3_password, force_sender, force_recipient. Step:2   Gmail Account Setting Now what you need to do is en

User Poll Script using Ajax and PHP

Image
In this tutorial, we'll be creating an Ajax Poll Script that displays the results with colored images using PHP and Ajax. This is a very simple Ajax poll script. Poll results will be displayed on the current page without moving to another page. The result of the poll is stored in a separate text file and results will be displayed based on the values stored in this file.As the data is saved in flat file it  does not require any database .  Download index.php <html> <head> <script> function Vote(int) { if (window.XMLHttpRequest)   {// code for IE7+, Firefox, Chrome, Opera, Safari   xmlhttp=new XMLHttpRequest();   } else   {// code for IE6 and IE5   xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");   } xmlhttp.onreadystatechange=function()   {   if (xmlhttp.readyState==4 && xmlhttp.status==200)     {     document.getElementById("poll").innerHTML=xmlhttp.responseText;     }   } xmlhttp.open("GET","vote.php?vote="+int,tru

Optimization Steps to Speed up your Magento Store

Today is a world characterized by speed. Everything there is in the tech world is appreciated by its capacity to be incredibly fast without a sacrifice on the utility serviced to the people. Ever since they venture into the digital world, businesses all around the world need to maintain an e-commerce site that’s fully functional and fast to keep money flowing into the company. The general rule in this situation is: “the faster and more reliable your e-Commerce site is, the better its performance in selling company products.” There are a lot of 3rd party applications that can build your Magento Store for optimum speed, some of them are free, and others are products in themselves. The important thing is that you make your e-commerce site as fast as possible without putting into jeopardy the functionality of the web page. 1. Fooman Speedster A freeware designed by the makers of Magento themselves; the main action of this add-on is to combine repetitive coding in order to minimize data tra

Username Availability Checker With jQuery and Ajax

Image
You might have seen many websites which checks username availability in real time during registration process.For example Gmail  or twitter sign up processes, their registration process is user oriented , it tells user availability on run time. This tutorial is to create a similar script which will tell username availability at run time. In this example we are checking the username entered by the user during filling the form with the usernames already stored in the database using Ajax and Jquery on run time. So in this example I have created a sample table called ‘registered_users’. CREATE TABLE IF NOT EXISTS `registered_users` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(20) NOT NULL, `password` varchar(20) NOT NULL, PRIMARY KEY (`id`) ) Now below is the code for the registration page through which users will enter their names. index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&q

How to show only month and year fields in android Date-picker?

Image
Android default DatePicker show day/month/year fields but you have to customize this DatePicker as your requirements. Suppose that you want to show only month and year fields in android datepicker . To do this, you have to customize the Dialog DatePicker source code but it is not an easy task. In this tutorial I will show you a tricky way to solve this problem. Lets see how to show only month and year field in android DatePicker as a dialog.   Step to show only month and year fields in android date-picker: Some days ago I got this same problem and here I am trying to explain this in a sequential manner. I want to show a dialog datepicker when user click on an EditText. So if user click on EditText, A dialog datepicker will be invocked and it will show only month and year fields. To do this, at first we have to create a xml layout to hold the EditText fields. So create an android project and name it DatePickerExample. In the main.xml file just try to write this simple code.  main.xml