I am a Flex developer that works with ESRI's REST Flex API most of the time, but have been exploring other options in the Flex world of web mapping. I have been using WebOrb's implementation of Remote Objects for other, non-spatial development and have been totally blown away by the performance gains I have seen compared with traditional web services (SOAP and even HTTP). And this has given birth to the following idea.
Instead of setting up a traditional WMS with MapServer, I am toying with the idea of firing the shp2img directly via remote objects, and sending that image back to the client to be drawn on top of the map. The only drawback to this approach that I see is that it is not very interoperable, i.e., no one else can consume this data but I am not too concerned with that right now.
I am comfortable with MapServer but far from a power user, so I am hoping to get some potentially valuable insights(i.e. warnings,ridicule...etc) from other MapServer experts. This idea is based on the assumption that shp2img will be faster at generating a tile than its equivalent WMS GetMap request.