Tuesday, 29 July 2014

Tagged under: , , , , ,

Zend Framework from Scratch Part II: MVC and Creating Zend Project

Zend Framework from Scratch Part II: MVC and Creating Zend Project
In the Part I of the 'Zend from Scratch' series, we installed Zend and configured the environment to create our first Zend project. Continuing with our 'Zend from Scratch' series, we will have a look at the MVC framework using Zend and then create our first Zend web application. For those who haven't read the Part I of this series, here's the blog post of it: Zend from Scratch Part I: Install and Configure PHP Zend Framework Model-View-Controller (MVC) framework: Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides...

Sunday, 27 July 2014

Tagged under: , , ,

Zend Framework from Scratch Part I: Install and Configure PHP Zend Framework

Zend Framework from Scratch Part I: Install and Configure PHP Zend Framework
Zend Framework (ZF) is an open source, object-oriented, full-stack PHP framework created by Zend Technologies implemented in PHP 5 and licensed under the New BSD License. In this 'Zend from Scratch' series, we will try to get the understanding about Zend Framework...not theoretically, but covering things like installing and configuring Zend Framework, understanding the MVC framework and developing a sample application using Zend. In this series, I would be using XAMPP for all purposes. XAMPP is nothing but a package of PHP, MySQL, Apache and other services. So, the PHP environment at my...

Monday, 21 July 2014

Tagged under: , , ,

Print Web Page using JavaScript

Print Web Page using JavaScript
Many a times, we come across situations where we have to selectively print only a certain part of a web page. When it comes to a normal print command, it will print the entire web page for you. However, what if you want only a certain section, say a certain <div>...</div> to be printed, and exclude the content of the rest of the page? This tutorial aims at doing just the thing... Step 1: Enclose the content that you want to be printed in a <div> tag, and name it, say 'report': <div...

Thursday, 17 July 2014

Tagged under: , , , ,

Forgot Password Functionality in PHP

Forgot Password Functionality in PHP
When you implement a Login functionality, one thing that becomes an obvious inclusion is the 'Forgot Password' functionality. There are several ways to implement the forgot password functionality, some of which may be: Ask the security Question Send a new password to the registered mail, etc etc But the most popular one is Send an encoded, one time password reset link to the registered mail id We would be discussing on this, i.e. the password reset link functionality implementation in this tutorial. Before we get on with the actual coding, we need to...

Saturday, 14 June 2014

Tagged under: , ,

Java code to remove redundant data / duplicate entries spread across multiple Files

Java code to remove redundant data / duplicate entries spread across multiple Files
The scenario here was that there are several text files, with redundant data in them. The objective was to remove the redundant data spread across multiple text files, and collate the entire data in a single file. This task can ofcourse be done using excel macros, but not being too fond of excel, I preferred writing a java code for the same. Below is the Java code to accomplish this task: package aj; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; public class Load {...

Monday, 28 April 2014

Tagged under: , ,

Android Tutorial - First Android App: Flashlight

Android Tutorial - First Android App: Flashlight
Ever thought of creating your own mobile application? Well, with Android, creating your own app is no longer a tedious task, something that could be done only by the professionals. All you need is the basic knowledge of java and xml, and the right way to start off. This tutorial aims at creating a very basic android application, a flashlight. Pre-requisites: 1. If using PC: Android SDK Eclipse with ADT plugin 2. If using an Android device : Tablet, cell phone (I had built it on a tablet) An Android IDE, for which...

Monday, 23 December 2013

Tagged under: , ,

Android Bootloop problem Fixed: The 'Jugaad' way

Android Bootloop problem Fixed: The 'Jugaad' way
Having an Android phone arouses that natural inquisitiveness to play around with its firmware, to root the phone, install custom ROMs and do all sorts of crazy things with it. However, sometimes, you might end up messing up your beloved phone, and then start cursing yourself for all the foolishness you did. I was in a similar situation recently. With the craze for Kitkat spreading like a wild fire, I decided to install the latest Android 4.4 on my Samsung Galaxy S2. Be rest assured....this one time Samsung flagship device still holds strong...
Pages (20)1234567 »