scumming with flash
Thursday, April 23rd, 2009My small flash program now knows hot to find the path and pick things
My small flash program now knows hot to find the path and pick things
Now that I've lost everything(not exactly other projects and clients need me too) to you You say you wanna start something new (F*** who cares weather you want to do new or old ) And it's not breakin' my heart you're leavin' (finally no more break points)
Baby, I'm not grievin' (i am happy that it happended this fast)
But if you wanna leave, take good care (of course don't bother me with phone calls) I hope you have a lot of nice things to wear (now what ever have a good system analyst before hand ) But then a lot of nice things turn bad out there Chorus: Oh, baby, baby, it's a wild world It's hard to get by just upon a smile Oh, baby, baby, it's a wild world
SCUMM tools have been here since 1980 but very few tools are available for Flash
here is my first experiment with scumm flash.
Just reminding my self with the new year cards that i have been making since long time
New year 2066 (suffering with heavy powercuts)
New Year 2064
and i lost some of the cards
New Year 2060
PHP is easier typed language than java, dynamic typing and easy available functions make php development and deployment faster than other compiled and statically typed languages. We have full stack framework for mini erp based upon Spring/Hibernate with its client spread to EXT/JS+DWR and ZK .
We still have problems with quick reports presentation with EXT/JS+DWR still makes us to write a service function in java, and restart the tomcat (testing server).
ZK is good choice except we don’t require the richness in the ui for the report that is provided by zk. and still here in my country PHP programmers are more easy to find than rare java programmers.
I tried Quercus my first mis understanding was that i needed Resin for running Quercus but it is run it can run in any java web container i just needed to add a servlet and mapping to .php pages.
adding to my web.xml and placing the jar files in my lib
<servlet>
<servlet-name>Quercus Servlet</servlet-name>
<servlet-class>
com.caucho.quercus.servlet.QuercusServlet
</servlet-class>
<init-param>
<param-name>ini-file</param-name>
<param-value>WEB-INF/php.ini</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>Quercus Servlet</servlet-name>
<url-pattern>*.php</url-pattern>
</servlet-mapping>
and here is how i access my spring beans with quercus
<?PHP
session_start();
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;
import org.springframework.orm.hibernate3.HibernateCallback;
import org.springframework.orm.hibernate3.support.*;
$servletContext=$request->getSession(true)->getServletContext();
$webAppContext=WebApplicationContextUtils::getRequiredWebApplicationContext($servletContext);
function getBean($name)
{
global $webAppContext;
return $webAppContext->getBean($name);
}
$template=getBean(”template”);
$ras=$template->find(”from FIN_LEDGERS”);
?>
hope this will save my time and push some php pages in my java app.