Archive

Archive for September, 2010

OpenInviter let’s drag friends

September 3, 2010 1 comment

OpenInviter is a fantastic edition to the open source widget domain. The purpose is pretty simple and straight forward that is dragging friends instantly.

Below is my 15mins interaction with that widget.

  • Get yourself register with the service. This is mandatory because the widget will use the private key generated for a particular user.
  • Download the widget from http://openinviter.com/download.php
  • Extract the compress file in webserver root directory

#sudo tar zxvf openinviter-*.tar.gz

  • Fullfill the dependencies like wget and curl packages

$sudo apt-get install wget curl

  • Navigate the postinstall.php and look for the following output;-

Checking username and private key… *OK*
Checking PHP version… *OK*
Checking DOMDocument support… *OK*
Checking transport method… libcurl is installed. Using cURL to handle requests
SQLite is NOT installed. Unable to keep stats. This will not affect the OpenInviter modules since they will run without keeping any stats.
Checking write permisions… /tmp is writable. Using /tmp to store cookie files and logs
Checking for new versions of OpenInviter… Your OpenInviter software is up-to-date
Checking Abv… *OK*
Checking AOL… *OK*
Checking Apropo… *OK*
Checking Atlas… *OK*
Checking Aussiemail… *OK*
Checking Azet… *OK*
Checking Bigstring… *OK*
Checking Bordermail… *OK*
Checking Canoe… *OK*
Checking Care2… *NOT OK* – This plugin might not work correctly on your system
Checking Clevergo… *OK*
Checking Doramail… *OK*
Checking Evite… *OK*
Checking FastMail… *OK*
Checking 5Fm… *NOT OK* – This plugin might not work correctly on your system
Checking Freemail… *OK*
Checking Gawab… *OK*
Checking GMail… *OK*

  • Once done either delete the postinstall.php file or rename it.

# sudo mv /var/www/jump4tmp/openinviter/postinstall.php /var/www/jump4tmp/openinviter/postinstallDONE.php

  • For detail install instructions look for the install.txt file.
  • Navigate the openinviter root directory and look for config.php file while will set the settings of the widget

# sudo gedit /var/www/jump4tmp/openinviter/config.php

<?php
$openinviter_settings=array(
‘username’=>”register_user”, ‘private_key’=>”801cb788f47075fd3cf57328b7948527″, ‘cookie_path’=>”/tmp”, ‘message_body’=>”You are invited to http://website.com”, ‘message_subject’=>” is inviting you to http://website.com”, ‘transport’=>”curl”, ‘local_debug’=>”on_error”, ‘remote_debug’=>”", ‘hosted’=>”", ‘proxies’=>array(),
‘stats’=>”", ‘plugins_cache_time’=>”1800″, ‘plugins_cache_file’=>”oi_plugins.php”, ‘update_files’=>”1″, ‘stats_user’=>”", ‘stats_password’=>”");
?>

  • Adjust the file content according to you need like stayed above.
  • Finally navigate to the example.php in the browser to play around with the widget LIVE!

http://localhost/jump4temp/openinviter/example.php

 

example.php

openinviter/example.php

 

Flex development on Linux

September 2, 2010 1 comment

Hey guys, I hope there are lot of guys who are relying on linux distro like Ubuntu, centos or fedora to name some. As far as the developers, geeks and machine fanatics are concerned. Aftyer such an addiction it’s quite difficult to work back on Windows system for some specific reasons like previous was the case as flash development is restricted to windows based machines. But now as adobe took a nice decision to move to bit to open source society with their new open source flexsdk the dream to develop flash based application on the linux island come true. Now with a handful of simple plugins our distro will be up and ready to develop application in flash and actionscript.

1. Download the eclipse euorpa with JEE support (v3.2 or higher)
Visit the following link http://www.eclipse.org/downloads/
Look for Eclipse IDE for Java EE Developers
32bit: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/R/eclipse-jee-helios-linux-gtk.tar.gz
64bit: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/R/eclipse-jee-helios-linux-gtk-x86_64.tar.gz

or get a torrent: http://build.eclipse.org/technology/phoenix/torrents/jee/eclipse-jee-helios-linux-gtk.tar.gz.torrent

Move the tar file into /opt dir
# sudo mv eclipse-*.tar /opt

Untar the eclipse compress file
# sudo tar zxvf eclipse-*.tar
# sudo cd eclipse
# ./eclipse &

2. Install the following plugins

In the menu, we choose Help -> Install new software…

Click on the “Add…” button, and type the following:

Name: Eclipse IMP
Location: http://download.eclipse.org/technology/imp/updates/

Name: AXDT
Location: http://update.axdt.org/

Choose (at least) the following packages:
Axdt AS3 Feature
Flex3SDK Feature

Then click on the “Next >” button, accept the licence and proceed to install the AXDT + Flex SDK framework.

Once installed, restart Eclipse

Go to the menu: Window -> Open perspective -> Other… -> AXDT

That’s all what you need to get started with Flas application development.

Coming soon

Tutorial: Write and compile you first flex application

Follow

Get every new post delivered to your Inbox.