Working on optimizations for AMF serialization and I want to finalize on just using the default ord function or actually using one of the fancier libraries such as mbstring or iconv. However I am not able to find very much information on what is the preferred library to code against. Surfing google shows that “everyone” likes iconv as it is almost always there on linux but suggest that mbstring is more portable? However there does not seem to be any suggestion as to what new developers should code against. I really like the additional methods that iconv and mbstring provide and both suggest optimizations although I would have to write my own tests to prove any optimizations. Can anyone lead me to some more detailed information on what the community wants to adopt?
– Update: ICONV it is! –
“mbstring offers better support and more options. However, it’s not enabled in vanilla PHP installs — whereas iconv _is_. So, for that reason, we typically recommend utilizing iconv. (I actually switched from using mbstring to iconv in Zend_XmlRpc for this reason.)”
Matthew Weier O’Phinney
Software Architect
Zend Framework
AMFPHP, Flash Platform, Zend_Amf
@ update Lee took this content and made it better
There are a lot of comments about how to secure amfphp. If you can do one thing and one thing only do the following.
1.) PLEASE remove the amfphp/browser/ folder from your project. This was designed as a debugging tool and has no access controls. Never place the browser on a production server.
2.) The more important file to remove rather than the browser directory is “f8v4/services/amfphp/services/amfphp/DiscoveryService.php” you can point any browser at a different gateway.php and it’ll bring up those services if the DiscoveryService.php is still there. Its this file/service that tells the browser was services are available for calling. For a complete kill of the browser you need to remove.
“f8v4/services/amfphp/services/amfphp/” <– DiscoveryService.php in here.
“f8v4/services/amfphp/browser/”
3.) Change “public_html/f8v4/services/amfphp/gateway.php”
define(“PRODUCTION_SERVER”, false);
to
define(“PRODUCTION_SERVER”, true);
4.) You really need to run the application over SSL if you can. It really helps keep people from being able to see all the plain text data that you are sending to and from the server.
5.) Implement before filter and I will blog on this real soon.
This will at least make it so that you can not remotly inspect all fo the services that are avaialable. I will release an
AMFPHP, Flash Platform
I have been working with a couple well know technology companies on an open source project to bring two languages I love closer together. It will be very cool
Flex3 and PHP will soon be better friends than ever!
With that said; Yes I am busy! For now that is really all I can say about what I am doing. This post is to let everyone know that the AMFPHP project is alive and well!
Also we finally have a cover to the Essential Guide to Open Source Flash which features and artical on AMFPHP. Very cool!
Can anyone figure out why sourceforge hates the username wadearnold? Let me back in! I can’t answer questions without access.
AMFPHP, ActionScript 3, Flash Platform
So my sourceforge account ha been blocked for about a month now. For some reason I get all my email add the account that I signed up with but my password no longer works and password recovery does not recognize my email address. How can I be getting email when they don’t know my password? ODD! I have opened several tickets but nobody seems to be able to do anything other than close my ticket. This seems to be a major issue because as a project lead I can’t just sign up a new account and then give myself rights to myself? FUN. Help if you can!
my sourceforge username is: wadearnold
AMFPHP, Flash Platform
Recent Comments