Photoshop brushes collection

myphotoshopbrushes | web7

Buddies, just realized to list out the sites providing good photoshop brushes. So here we go. Hope will be useful to you all. 1. myphotoshopbrushes                     2. BrushKing               3. Brusheezy                 4. [...]

read more »

Photoshop

Posted on July 9th, 2011 Written by webdevbit

Read CSV file in CakePHP

webdevbit-cakephp

First download class file for reading CSV file from here. Now copy the main class file to your app/vendors/ and name it parsecsv.php. Now in your controller’s action where you want to read CSV data, import that file using App::import function, function readCSV() { App::import("Vendor","parsecsv"); } Then create object of the class, function readCSV() { [...]

read more »

Articles, CakePHP

Posted on April 25th, 2011 Written by cakebit

Integrate WordPress into CakePHP

cake-wp

Sometimes ago I was working on a project based on CakePHP framework. And requirement was to integrate a blogging application into CakePHP. Well, everyone knows that WordPress is the best Blog framework ever made. So I decided to integrate WordPress into CakePHP. Now, the first thing is if you want to integrate WordPress in CakePHP, [...]

read more »

CakePHP, CMS, Tutorials, Wordpress

Posted on April 20th, 2011 Written by cakebit

MySQL : Get next auto increment value in a MySQL table using PHP

webdevbit-mysql

Recently, I needed to get the auto increment value for the next inserted row in a MySQL table. As the first solution, I was thinking to get maximum of ‘id’ field and then increment it for next inserted record like, $query = mysql_query(SELECT MAX(id) as max_id FROM tablename); $row = mysql_fetch_array($query); $next_id = $row[‘max_id’] + [...]

read more »

MySQL, Web Development

Posted on April 13th, 2011 Written by cakebit

How to abort an ajax request using jQuery

webdevbit-jquery

The $.ajax method returns the xhr object, and you can call the abort method of it. Every time you create an ajax request you could use a variable to store it: var x = $.ajax({ type: ‘POST’, url: ‘someurl’, success: function(result){} }); Then you can abort the request: x.abort();

read more »

jQuery

Posted on March 20th, 2011 Written by cakebit

Caching problem with models in CakePHP

webdevbit-cakephp

Before a few days, I was working on a project in CakePHP. I made some model related changes, like changed the relationship of models and added new fields to table in database. After uploading the code to live server, when I checked the site, no difference was seen as compared to earlier version of site. [...]

read more »

Articles, CakePHP, Tutorials

Posted on March 13th, 2011 Written by cakebit

How to implement RPX social in cakephp?

RPX login - webdevbit by Gautam Lakum

Whua there, I have appeared after 1 month with new post. I know, it’s been too long. But anyways, let’s start something new. I am here with little new topic, i.e. how to implement RPX social in cakephp. What is RPX social? RPX is a third party tool that allows users to log in to [...]

read more »

Articles, CakePHP, Tutorials

Posted on February 1st, 2011 Written by webdevbit

update twitter status remotely using cakephp component

webdevbit-cakephp

Twitter is widely used social site for marketing and publishing your thoughts and lots of more. Here I have script to login and update twitter status remotely. I have implemented it in my project as a component and want to share it with you. So here we go for it. /app/controllers/components/twitter_post.php <?php   class TwitterPost [...]

read more »

CakePHP, Components, twitter

Posted on January 1st, 2011 Written by webdevbit

cakephp session setflash with cool jquery effects

cakephp-jquery-webdevbit-gautamlakum

Hi there, I have something new for cakephp developers to customize their setflash messages. I can’t say it much different, but I have added some cool css and jquery effects to it. So it looks different then simple cakephp flash message. So let us start. 1. Add jquery file to your layout or view file. [...]

read more »

Articles, CakePHP

Posted on December 7th, 2010 Written by webdevbit

3 Idiots song for programmers

webdevbit-general

Hey friends, I got a song lyrics for programmers. It is very similar to very hit song of movie 3 Idiots – Give me some sunshine. One of my friend Rashmin Javiya has sent me this. Here it is. I hope you will enjoy that song. Saari umr hum coding main mar gaye Ek pal [...]

read more »

General

Posted on November 21st, 2010 Written by webdevbit

Check whether javascript variable is defined

webdevbit-javascript

Today I was just doing some javascript code @ work. In that, I required to check whether the javasctipt variable is available/defined or not like we can use isset($var) in PHP. You can say me js/jQuery learner. So I just gone through some javascript and jQuery ebooks. And got the solution for that. Here it [...]

read more »

Javascript, Web Development

Posted on November 20th, 2010 Written by webdevbit

CSS3 tips and help for internet explorer

webdevbit-internet-explorer

CSS3 has greatest features for designers and developers, allowing the opportunity to avoid using and implementing solutions in projects. They can avoid using extra images and complex jQuey/javascripts. I have tried new features of CSS3 in IE and found some of them unsupported. But now a days, to reduce page load time and make web [...]

read more »

CSS, Web Design, Web Development

Posted on November 16th, 2010 Written by webdevbit

Categories

Like our fan page

Pages