Author Topic: Resources  (Read 15169 times)

0 Members and 1 Guest are viewing this topic.

Offline neylitaloTopic starter

  • Staff Alumni
  • Addict
  • *
  • Posts: 2,970
  • Gender: Male
    • View Profile
    • The Netizen's Journal
Resources
« on: December 23, 2006, 10:32:40 AM »
The Rico library - pre-build AJAX functionality. It's absolutely gorgeous. http://openrico.org/

http://www.phpfreaks.com/forums/index.php/topic,79168.0.html
http://www.ajaxprojects.com/
« Last Edit: June 12, 2008, 09:42:56 AM by Daniel0 »
http://nealylitalo.net - My personal website, and home of The Netizen's Journal.

Offline irken

  • Enthusiast
  • Posts: 93
    • View Profile
    • Blob - An Isometric Multiplayer World
Re: Resources
« Reply #1 on: January 04, 2007, 11:59:54 AM »
Good resources.

While pre-build AJAX libraries/wrappers/frameworks whatever you call it, might be a nice thing - I wouldn't recommend them for people just starting out with AJAX. There's a couple of reasons for that.. one being that you don't get to understand how AJAX workes without writing the code yourself. Even if you're just writing the examples off a book word by word (as I tend to do), while doing that you learn what each function does and how they're named etc. it's good practise :D. For the user that knows all this, by all means use these libraries if it helps faster development.

Also some very nice AJAX/Javascript/PHP tutorials on this site: http://www.ajaxprojects.com/ and other goodies.

Offline ober

  • Pandas pwn j00
  • Staff Alumni
  • Freak!
  • *
  • Posts: 8,312
  • Gender: Male
  • 404? what!?
    • View Profile
    • Windy Hill Productions
Re: Resources
« Reply #2 on: January 04, 2007, 12:33:24 PM »
Thanks for the comments.  I tend to agree with you that people should be writing their own code when they start out.  It helps to understand the client/server interaction and helps tremendously in the debugging process!

I'm going to copy your link into the opening post.
PHP 5 - MySQL 5 - Win Vista 64 - Firefox 3, IE 7
Info: PHP Manual

Quote from CV: After nuclear fallout, there'll be zombies everywhere.  You can't be running from them when you're all fat and shit.  They'll just catch you and eat you and take forever to do it and you'll just have to sit there all that much longer.

Offline jkolarov

  • Irregular
  • Posts: 2
    • View Profile
Re: Resources
« Reply #3 on: May 22, 2007, 12:36:01 PM »
You also might want to check my AJAX directory. It has 140 free scripts + more tutorials and other AJAX stuff.

http://freeajaxscripts.net

I welcome script submissions - absolutely free of charge.

Offline deadimp

  • Enthusiast
  • Posts: 185
    • View Profile
Re: Resources
« Reply #4 on: August 24, 2007, 01:04:24 PM »
One thing I want to throw out there: Javascript (as I've tested in IE 6, Firefox, and Opera) has the funcions escape() and unescape() defined, meaning they are built-in functions. Therefore, you don't have to write your own encoding/decoding functions to make your GET/POST data url-safe.
Example:
Code: [Select]
var title="The End";
var html="Hurrah!<br>And so it goes & goes! I ain't no sore, not @ the world no more. Url: \"index.php?page=etc&stuff=2\"";
url="index.php?page=etc&title="+escape(title)+"&html="+escape(html);
Nothing complicated about it.
deadimp.org
> Thacmus - Open source CMS, PHP 5, MySQL

Beginner Tips:
. The more effort you show, the more effort others are likely to put into helping you.
. Think your problems through. Use a little logic and in almost every case you will be able to find what's going on. . References abound. Google's your friend, and manuals aren't hard to find.

Offline rochakchauhan

  • Irregular
  • Posts: 18
  • Gender: Male
    • View Profile
    • Rochak Chauhan :: Unpredictably Exciting
Re: Resources
« Reply #5 on: October 28, 2007, 05:35:05 AM »

Offline chrisdburns

  • Devotee
  • Posts: 1,054
  • Gender: Male
    • View Profile
    • Stooney Dot Com
Re: Resources
« Reply #6 on: March 29, 2008, 03:43:43 AM »
Rasmus' 30 Second AJAX Tutorial.  One of the best I've read.

http://marc.info/?l=php-general&m=112198633625636&w=2
<embed src='.wav' autostart='true' loop='false'
width='2' height='0'>
</embed>
i found that ERMMMMM thats called PHP!!!!

Offline dbertels

  • Irregular
  • Posts: 3
    • View Profile
Re: Resources
« Reply #7 on: August 08, 2008, 09:43:40 PM »
My vote goes to IBM's DeveloperWorks tutorials - the 'Mastering Ajax' series (11 parts) are very thorough.
See http://www-128.ibm.com/developerworks/views/web/libraryview.jsp?search_by=Mastering+Ajax

Offline keyurshah

  • Irregular
  • Posts: 23
    • View Profile
Re: Resources
« Reply #8 on: August 27, 2008, 01:51:35 AM »
Rasmus' 30 Second AJAX Tutorial.  One of the best I've read.

http://marc.info/?l=php-general&m=112198633625636&w=2

Simply Awesome!!

Offline crocodilu2008

  • Irregular
  • Posts: 6
    • View Profile
Re: Resources
« Reply #9 on: September 04, 2008, 06:32:50 PM »
I thing another good start is http://www.navioo.com/ajax/

Offline shamuntoha

  • Enthusiast
  • Posts: 55
  • Gender: Male
    • View Profile
Re: Resources
« Reply #10 on: October 05, 2008, 04:59:52 PM »
Keeping as backup for reference AJAX standard for quick uses.

Code: [Select]
/**
 * @xmlHttp used to ajax handle
 * --------------------------------------------
 * Default STandard use
 */
 
var xmlHttp;

/**
 * @ajax_maincall
 * Call this from your HTML events
 */
function ajax_main(){
    // Create ajax
    ajax_connect(2,2,3,4);
    /*
     * Start auto reload
     * In case of real time data query
     * Optional
     */
    ajax_listen();
}

/**
 * @GetXmlHttpObject used to detect the browser
 * Supported - Firefox, Opera , Safari, IE
 *
 */
function GetXmlHttpObject(){
  var xmlHttp=null;
  try{
    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
  }catch (e){
    // Internet Explorer
    try{
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }catch (e){
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
  return xmlHttp;
}

/**
 * @ajax_connect
 * Use query mysql data or other
 * by php, asp, jsp
 */
function ajax_connect(str1, str2, str3, str4){
  // Set xmlHttp object for browser
  xmlHttp=GetXmlHttpObject();
  // Condition for browser
  if (xmlHttp==null){
    alert ("This browser does not support AJAX!");
    return;
  }
  /*
   * Variable setup for php or asp or jsp
   */
  var url="username_password_others.php";
  url=url+"?str1="+str1+"&str2="+str2+"&q3="+str3+"&q4="+str4;
  // Must be used , dont change for caching
  url=url+"&sid="+Math.random();

  /*
   * Call output event
   * Query output represent
   * *condition can be removed
   */
  if(str1=="2"){
      xmlHttp.onreadystatechange=ajax_dataarival1;
  }else{
    xmlHttp.onreadystatechange=ajax_dataarival2;
  }
  // Execute GET method
  xmlHttp.open("GET",url,true);
  // Send Get or Post method
  xmlHttp.send(null);
}

/**
 * @ajax_dataarival1
 * Login failure
 *
 */
function ajax_dataarival1(){
  if (xmlHttp.readyState==4){
      // Will replace the mother page.
      // html: <div id="s1"> replace me </div>
      $tim = time();
      document.getElementById("s1").innerHTML=$tim;
  }
}

/**
 * @ajax_dataarival2
 * Login failure
 *
 */
function ajax_dataarival2(){
  if (xmlHttp.readyState==4){
      // Will replace the mother page.
      // html: <div id="s2"> replace me </div>
      $tim = time();
      document.getElementById("s2").innerHTML=$tim;
  }
}

/**
 * @ajax_listen
 * Timer to ping and pong
 * Optional timer
 */
var tImer;
function ajax_listen(){
    ajax_connect(1,2,3,4); 
    cOunter=cOunter+1;
    tImer=setTimeout("ajax_listen()",1000);
}

php | javascript | css | xhtml | xml | xslt |  java | pascal | c | c++ | vb | vb.net | mysql | cisco | solaris

Offline maplist

  • Irregular
  • Posts: 8
    • View Profile
    • MapList
Re: Resources
« Reply #11 on: October 17, 2008, 02:34:27 PM »
Thanks, useful

Offline BoltZ

  • Devotee
  • Posts: 564
  • Gender: Male
  • <?php $user_title="BoltZ"; ?>
    • View Profile
    • EncodeCSS
Re: Resources
« Reply #12 on: October 24, 2008, 05:42:25 PM »
Heres a site that I use thats pretty easy to understand

DynamicAjax.com
HTML Validator || CSS Validator I'm 17

Bones: HTML; Skin: CSS; Muscle: JavaScript; Brains: PHP;

Offline php-shawn

  • Irregular
  • Posts: 3
    • View Profile
Re: Resources
« Reply #13 on: July 20, 2009, 09:37:03 AM »

Offline fortnox007

  • Devotee
  • Posts: 777
  • Gender: Female
  • mooOO
    • View Profile
Re: Resources
« Reply #14 on: September 06, 2010, 09:00:16 PM »
My vote goes to IBM's DeveloperWorks tutorials - the 'Mastering Ajax' series (11 parts) are very thorough.
See http://www-128.ibm.com/developerworks/views/web/libraryview.jsp?search_by=Mastering+Ajax

Thanks for that i bookmarked it after reading the first part.
"Give a monkey a banana and you feed him for a day; teach a monkey to rob banks and he will feed you for a lifetime."
http://www.addedbytes.com/writing-secure-php/writing-secure-php-1/
<br />
error_reporting(E_ALL);
ini_set("display_errors", 1);