Sunday, May 9, 2010

Ongoing Compendium of Resource Links

As a way of bookmarking and categorizing online [potential] resources I will update this blog post throughout my project.

Update: I am now going to mark the newly added links for each update of this post by highlighting them.



Facebook-application-related  --------------------------------------------------------------------------





Wiki - Cross Domain Communication Channel - so that my pages (within the iframe) can talk to the parent (Facebook-hosted) page.  This is necessary for using the JS client library.

* (See the other post about the Facebook platform integration for a much longer categorized list of links...)


PHP + MySQL  --------------------------------------------------------------------------



PHP - Specific functions etc.  --------------------------------------------------------------------------






mysql_query - includes links to related functions: mysql_fetch_array, mysql_num_rows, mysql_affected_rows

mysql_real_escape_string - apparently you should use this on your query strings before sending them


include - this documentation also applies to 'require' (and mainly to 'include_once' and 'require_once')

Boolean (type) - with useful comments on various funky details of comparisons, casting, how the representation is output


PHP & Flash  --------------------------------------------------------------------------




Cron Jobs  --------------------------------------------------------------------------

Running PHP cron jobs – regular scheduled tasks in PHP

Cron Job setup on Webhostingpad


Javascript  --------------------------------------------------------------------------

Accessing PHP variables in Javascript - a simple issue, but I needed to know :P

AJAX GET and POST examples - mostly because I wanted to remind myself of the format of the parameters string, and didn't realize the content-type had to be set for the POST to indicate it would be in name/value pair format if I was sending a string I constructed.

Setting and clearing timed events - for AJAX polling for database changes



Flash [games]  --------------------------------------------------------------------------


Flash/Actionscript [basic/reference]  --------------------------------------------------------------------------


Flash CS4 Migration Guide from AS2 to AS3 - I expect this to be quite useful when I'm Googling around for random issues I encounter in Actionscript and I find blog posts and whatnot that happen to use AS2 for code examples.  Credit to John for finding this. :)








Flash/Actionscript [specifics]  --------------------------------------------------------------------------

-- The Actionscript Language --


(since there's no native support)










-- Relevant AS Classes --



flash.display.Graphics - access programmatic drawing functions (lines, circles, fills, ...)



-- Buttons --






-- Movie Clips (and other DisplayObjects) --





^ extensive tutorial. I like this one.

This is a multi-page/many-step tutorial... haven't looked at it much.

One of those long multi-page tutorials, but this might have some useful bits in there. (Haven't looked at it much yet.)



scroll down and try what's mentioned at the end, maybe


-- Event handling --

(oh yeah! I remember using this same structure in Javascript...)




-- Actionscript + external code functionality --

[AS3] Forum thread: "Sending variables from AS3 to php and back to AS3" - really helpful posts about how to set up the necessary code pieces (the Actionscript and the PHP), with code snippets

[AS3] "Working with external data" - article with code examples about using the URLVariables and URLLoader classes, pulling from external documents, and accessing external scripts


-- Drawing --

This looks like AS2, but the code structure gives me the basic idea of how to use the drawing API functions together to create a simple drawing app.




-- Edges/intersection --




-- (uncategorized) --




No comments:

Post a Comment