• Simple backup plugin for your wordpress blog

    3

    Backup is always required for any valuable items we have and on the web our blog is our most valuable identity, so why not take its back and secure all your posts, plugins, themes etc, so that if something goes wrong you should not have to worry.

    Recently we have released our simple backup plugin named wpSimpleBackup, which will take backup to cloud files, Amazon S3 or FTP to other server.

    What wpSimpleBackup can do? wpSimpleBackup take the full back of your wordpress blog including database, plugins, themes, uploads and save it to your chosen option among rackspace cloud files, Amazon S3 or FTP.

    How to install and use? Installing this plugin  is the  same process as  any other wordpress plugins  requires,  you need to copy the wpsimplebackup directory to your wordpress plugins directory and activate it from the admin panel.

    Plugin will give you options to chose backup storage among three options, and then need to do the service setting for the chosen storage. You then need to give a container/folder name where it’s going to save the backups. Name of the zip file to identify your backup files. And most important you can do scheduling, take backup daily, weekly and monthly or if you wish you can take backup manually also. An another good feature is you can restrict your backup up to some numbers like last 5 backups or 3 etc. Then save the setting and you are done.

    How your backup’s will look?

    You can view all your backups from admin panel itself and have facility to delete it or restore it from there only. So this will also going to help you if you simply need to do migration.

    I will simply list the amazing features once again

    • Backup of whole blog including database, wp-config.php, plugins, themes and other files in wp-content folder.
    • Three options of storage rackspace cloud files, Amazon S3 and FTP
    • Scheduling of backup with options of daily, weekly or monthly other then this one can take manual backup anytime.
    • You can restrict number of backup files you want.
    • Can view backups from admin panel, delete backup and restore it from panel itself.
    • It is simple, easy and fast.
    • Best wordpress blog migration tool I ever found and now its your turn.

    Where can you get this plugin? You can checkout this wpSimpleBackup

  • setting ajax response to a variable

    0

    Yesterday I was working on a small task of validation through jquery ajax, I was comparing two dates through ajax and then needs to set an variable on success, which I can use further in the same function but it was not working as per requirement. My code was like

    $.ajax({
    type: "POST",
    url: 'test.php',
    data: datastr,
    success: function(res) {
    result = res;
    }
    });
    

    This code was not giving me “result” variable and I want to use it further in next ajax request, then I searched and found as the request is asynchronous it will not work and I made the request synchronous, like

    var result = '';
    $.ajax({
    type: "POST",
    async: false,
    url: 'test.php',
    data: datastr,
    success: function(res) {
    result = res;
    }
    });
    

    alert(result); // use it here

    Now I can use result any where in this function.

  • Debugging log plugin for wordpress

    1

    Few days back I was working on a live wordpress site and need to debug some code, as it was live I can’t add some echo’s and exit so I added email code and then check the emails continuesly, then I reliaze I need a logging mechanism and I made this simple logging plugin, which will log my debugging code and its easy to compare anything there rather then in emails.

    Call debug log plugin create a log file date wise in the wp-content/logs directory, you just need to add this plugin, activate it and call

    $content = “This content needs to be logged ”;

    do_action(‘calldebuglog’, $content);

    where $content is any debug code you want to check in the log file, and “calldebuglog” is hook which will call the required function.

    Download link :  Debugging log plugin for wordpress (181)

    Let me know your views and thoughts on this.

    wpSimpleBackup : a simple wordpress plugin to take backups.
  • Looking Forward to PHPCamp 2010

    1

    PHP Camp 2010 a most awaited event in Indian php community for 09, but because of swine flue it was postponed and now its going to held on 9th Jan 2010. What is actually PHPCamp? I was also having this question last year before I actually attended. Its a good way to communicate your thoughts in an un-conferenced manner. At the same time you are going to listen and learn some good new web concepts and refresh some old one also :) .

    Last year on 20th Sep 08 it was first held in Pune and it was a huge successful event I had ever seen. Even after heavy rain peoples were coming like flood and finally 700 peoples turned up after registration of some 1500, this was a big count for any un-conferenced held till now. Some of the very good session I had attended was open social given by Praveen Nirmal and Sebastiaan Deckers.

    This year still the venue is not decided till now but PHPCamp is having some very good response from the community and sponsors also. Why any one needs to attend it this time because you will really get good sessions and ofcourse lots of networking with the techies and last but not the least lots of fun. So what are you waiting for register yourself and grab the opportunity of becoming a Camper.

  • Microsoft and PHP

    0

    Recently on 4th Dec 09 I had attended an seminar “Microsoft Interop Days.”. Event was organized by Microsoft and its first time they had it in Pune. The basic motto for organizing such type of events all over the world is to speared awareness about the products and services given by the Microsoft which are supported to open source PHP, so that people will not loose any opportunities while working in PHP and need to use Microsoft technologies also. Points which were discussed in the event was:

    • Build an end-to-end, authentication and authorization model for your existing PHP application in less than 30 mins
    • Access your data exposed from your PHP app, through a RESTful service interface
    • Configuring Windows to run your PHP applications
    • Discover the web designer in you, to build pure CSS based PHP websites..

    Some of very useful links I get from here was Microsoft Web Platform Installer 2.0 which will install all the required tools in few minutes on your machine and you are ready to built a website.

    I personally feel this event is helpful for peoples like me who never ever heard about all this fantastic products of Microsoft which will help me to develop same PHP scripts with MS.