We are Designers, We are Developers,We are Thinkers,
We are Strategists

Watermarking an image using paperclip gem

 
  • 0
1

You can brand all the images present in your application by placing your official logo as watermark on images. This can be done in a programmatic manner using a paperclip gem. Requirements: • Add paperclip gem to your ruby on rails application and install all the dependencies like image magick. Implementation: • Choose a model […]

Readmore

How to auto load the content on page scroll

 
  • 0
Auto load the content on page scroll

Introduction: This technique is used in Twitter, Facebook and several other websites. New Facebook is using this technique to load more posts and updates. when the user scroll down the page all the old posts are displayed on the screen. Step1: Create mysql table CREATE TABLE IF NOT EXISTS `messages` ( `id` int(11) NOT NULL […]

Readmore

Simple HTML5 audio player with playlist

 
  • 0
8

Introduction: HTML5 introduces built-in media support via the <audio> and <video> elements, offering the ability to easily embed media into HTML documents.The <audio> tag defines sound, such as music or other audio streams. Currently, there are 3 supported file formats for the <audio> element: MP3, Wav, and Ogg. How to Use: <audio id=”audio” preload=”auto” tabindex=”0″ […]

Readmore

How to create module in YII framework?

 
  • 0
13

A module is a self-contained unit which contains models, views, controllers and other supporting components. It is same like an application, but the difference is module can’t be deployed alone. Modules are useful units in large applications. We can easily develop and maintain the large application by dividing it into several modules and we can […]

Readmore

How to save multiple input entries in one column in mysql using php?

 
  • 0
3

Introduction: Serialization method – serialize() is to store multiple fields in single column. PHP is able to automatically serialize most of its variables to strings – letting you save them into storage like $_SESSION. However, there are some tweaks you have to know to avoid exploding .php scripts and performance problems. serialize() converts an array, […]

Readmore