COPYRIGHT RESERVED 2009 BY MAX TSAI



Visit Max Tsai at Facebook | Twitter | atom

Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Sunday, March 30, 2008

Java - PHP

http://quercus.caucho.com/

I enjoy developing JEE, but am kind of tired of JSP and other Template Engines. Why can there be just something that my designers can just do it without coming to me all the time? I am hoping Quercus (A Java based PHP engine) comes to rescue!

and: http://fabien.duminy.ifrance.com/blog/archives/2007/08/entry_14.html

I had to copy three jar files:
resin-util.jar. quercus.jar, and javamail.jar; so, Tomcat does not compliant about javax/mail/MessagingException

Also, I copied the php/quercus-war to webapps (since I am lazy). Works!

----
On Windows, this seems to be another solution. Never tried yet!
http://nexus.zteo.com/2008/02/15/how-to-setup-php5-with-tomcat-5/

Wednesday, February 20, 2008

Okay - my vote to CakePhp

I can not aruge that Simple is Success. Once agian, for one of my new projects, CakePhp is the winner after looking at Symfony. Yes, Sumfony is very promising and (personally) it rocks. But, it is complicate comparing to CakePhp. CakePhp takes no time to get started. Actually, 15 minutes after seeing the blogger tutorial! It is really awesome with the other Helper for Ajax and For Smarty fans, SmartyView is available, too.


Tuesday, January 29, 2008

PHP MVC Frameworks

This might be an old list:

http://solarphp.com/home/
http://www.cakephp.org/
http://www.mojavi.org/
http://www.agavi.org/
http://amb.sourceforge.net/
http://www.phpmvc.net/
https://www.phrame.org/
http://mojavelinux.com/projects/studs/
http://www.phpwact.org/php/mvc_frameworks

and,
  • Taking a look at ten different PHP frameworks http://www.phpit.net/article/ten-different-php-frameworks/
  • Top 10 PHP MVC frameworks
    http://www.mustap.com/phpzone_post_73_top-10-php-mvc-frameworks

Saturday, December 1, 2007

FLUID Project Version 0.1 Released

http://fluidproject.org/index.php/downloads

Thursday, August 9, 2007

J2EE, Not for Fun?

I was forwarded this video. Very interesting ..
http://oodt.jpl.nasa.gov/better-web-app.mov

I think it will be more FUN if .Net is included. It probably requires no coding for either examples using Visual Studio Web Developer Express (Free) .. drag and drop, i18n, and preview'able .. anyhow, I am not a .net fan. Oh, and where is PHP. Any commands from PHP'ers.

My current developer side of life is fully occupied by Spring Framework and portlets .... and somehow I have not felt too sad yet!

Wednesday, May 9, 2007

JavaFX - Quick Start on Eclipse ..

Doing JavaFX on Eclipse:

  1. Install openjfx plugin for Eclipse
    (Help > Software Updates > Find and Install)
    URL
    http://download.java.net/general/openjfx/plugins/eclipse/site.xml
  2. New Java Project
  3. New JavaFX file HelloWorld.fx
  4. Type in the sample code from openfx.dev.java.net
    import javafx.ui.*;

    class HelloWorldModel {
    attribute saying: String;
    }

    var model = HelloWorldModel {
    saying: "Hello World"
    };

    var win = Frame {
    title: bind "{model.saying} JavaFX"
    width: 200
    content: TextField {
    value: bind model.saying
    }
    visible: true
    };
  5. Right click on the project and Run As JavaFX Application (double click)
  6. Add argument: HelloWorld
  7. Here we go:

Where is F3?

I have been disappointed by not being able to get access to f3.dev.java.net. Oh! NO WAIT- I just downloaded JavaFX from openjfx.dev.java.net and it is F3. I think I am making my best guess now that: F3 is the code name and JavaFX is the product name. I will bet my money on that ..

Friday, April 6, 2007

Thursday, October 19, 2006

Setting up EClipse on my MacBook

  1. Of course, download eClipse 3.2.1
    http://www.eclipse.org/)
  2. Not to forget Sysdeo TomcatPlugIn
    http://www.sysdeo.com/eclipse/tomcatplugin
  3. WTP 1.5 with:
    - the EMF driver used in this build is
    emf-sdo-xsd-SDK-2.2.1.zip
    - the GEF driver used in this build is GEF-SDK-3.2.1.zip
    - Java EMF Model Runtime driver used in this build is JEM-SDK-1.2.1.zip
  4. Add Eclipse HTML Editor Plugin from
    http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=EclipseHTMLEditor

Here I go!

Friday, March 31, 2006

Stupid, it is the programmer ..

So much fun looking at the benchmarking of programming languages: http://shootout.alioth.debian.org/gp4/benchmark.php

It is cool that you can adjust the weight to make your favor language to move up! Anyway, as a very original C system coder, I am very happy with all the results!

But, Stupid - it is the programmer! It is the matter how the programmers code and design the application, really..


Tuesday, March 7, 2006

Top-down!

Tomorrow, I am going to talk to my boss on a old idea, but new interprepertation. How cool!
to be continued ....

[here is the follow up]
So, top-down or bottom-up are the two approach of software developement. Idealy, you would want to gother all the use cases and requirements before designing an application; however, in some cases, the application is actually built as on demand - frenquently, my users told me that we need this, TOO. Especially, for portal integrations, it becomes less and less control on what user applications to expected. So, form Top-down approach to get a framework/architecture to support and base on that architecture to decide