AMFPHP 1.0 beta updates

Today I was reading the the latest consideration of Patrick Mineault about the recents AMFPHP CVS commits.
AMFPHP 1.0 core documentation is quite finished, and the official 1.0 release seems to be really close. With the last update amfphp is incredile faster than before, thanks to a deep update of the core amf serializer. There is a very interesting blog entry about this update, on how he got inspired after a Rasmus’ talk at PHPQuebec, passing through a valid php debugging process (which i didn’t know and now i’m going to download immediately!) Dowload the unofficial AMFPHP beta from here: http://www.5etdemi.com/blog/

P.S. Remember that there’s still a poll for voting the new AMFPHP logo.

Latest SE|PY changes

A little update on the latest software changes.

– I recently added the possibility to use “Abbreviations”, like happens in Scintilla|Scite. Basically they are a set of abbreviated words (e.g. “if”,”fun”,”forin”) which, after pressing a shortcut key, will be expanded into an expanded expression (and pointing the cursor at the position you described in the abbreviation manager panel).
– All the bookmarked lines are now always availables under the bookmark menu.
Just select one of the menu item to go to the specified line.
– Another addition is the Chinese (Simplified & Traditional) dialogs & menu language support (thanks to Deng Jie for this)
– In the Upcoming 1.0.68 version there will be also the possibility to add optional params to be passed to the MTASC compiler.
If “-v” option is passed a dialog window will be opened after the check syntax process, grabbing all the verbose messages printed by mtasc.

Foundation PHP 5 for Flash

It was from days of Flash 5 which this book first time appeared. Long time has elapsed (expecially considering the informatic times).

Today I see that friends of Ed has published a new version of this book covering ActionScript 2.0, PHP 5 and MySQL 4.1.
Taking a look at the sample PDF chapter available it seems quite well done, clear and simple to read (ok, that is 2nd chapter and it talks of very basic things already…), but i noticed that it also threats of things/problems which often occured if you use php and flash everyday.. for example escape characters, magic_quotes_gpc etc..
I think i will going to get a copy of the book, it’s always useful take my mind under exercise…

SE|PY and MTASC

In the latest version of SEPY I’ve added a syntax checker (as many developers pray for), and now SEPY uses MTASC as engine for checking actionscript syntax.
You just need to download MTASC and set the binary path of the compiler in sepy preferences.
The testing version of sepy is available at sourceforge.
A useful feature of this integration is that, if an error is found, the file containing the error will be automatically opened in the exact position of the error.
P.S.
Note that MTASC engine is slightly different than the Macromedia internal compiler. You can see the comparison in the mtasc homepage.

Download MTASC

Firefox first victim

It seems incredible but the first victim of the cannibal Firefox (25 millions of downloads) it’s Mozilla itself!
In fact, even if already released some beta version of Mozilla 1.8, there will be no more a 1.8 final release anymore.
The unexpected success of Firefox shifts the development focus from the integrated Mozilla Application Suite to the new generation of applications — the Mozilla Firefox browser and the Mozilla Thunderbird mail and news client.
BTW, support and developement over current Mozilla versions will still continue.

read the full article: Mozilla Application Suite – Transition Plan

Official SE|PY contest started!

Thanks to actionscript.it I’m glad to introduce officially the contest for the realization of the new SE|PY icon.
Over the original prize of a Macromedia Studio MX 2004 license, there are also: two free domains (it, com, or net), 200Mb of web space with support ASP, ASP.NET, ColdFusion 7, MySQL and a bookDeveloping Rich Clients with Macromedia Flex“.
Files can be send via email to one of the following addresses: sepycontest@sephiroth.it and sepycontest@actionscript.it. The contest will expires on 18th April 2005, after this date we will select the winners.

The full contest rules are available at this address: http://www.sephiroth.it/contest.php

P.S. For all who already sent to me their file, they are already subscribed to the contest. (thanks in advance to anyone who already sent me his icon, they’re really nice!!) Thank you again for the support!!

XML2Object revisited

An XML2Object revisited class.
Basically it works in the same ways as the previius one, but now in the parseXML method it can be defined a 2nd parameter which will tell to the parser to put all xml nodes into arrays. In this way all variables created into the returned object will be stored into array. for example:

import it.sephiroth.XMLObject;
myxml.onLoad = function(){
     	var data = new XMLObject().parseXML( this, true );
}

The second addition to this class is the parseObject method, which will convert any object into an xml. for example, this code:

import it.sephiroth.XMLObject;
myobject = {
   	attributes : {
    		name : "custom object",
    		type : 1   	},
   	item : [   { name : "Varese", code : "VA" },   { name : "Milano", code : "MI" }  ],
   	channel : {   name : "City",   country : "Italy"  } }
data = new XMLObject().parseObject(myobject,"TEST");

will produce this xml string:

<?xml version="1.0"?> 	<TEST type="1" name="custom object"> 		<item> 			<name>Varese</name> 			<code>VA</code> 		</item>   		<item>    			<name>Milano</name>    			<code>MI</code>   		</item>   		<channel>    			<name>City</name>    			<country>Italy</country>   		</channel>  	</TEST>

And here’s the class code: XMLObject.as