Nov
13
2008
0

Java Programming with Passion: Day 2

The link to the online training

2. Learning the basics of Java language

Getting input from keyboard

The finished project mygetinputfromkeyboardjoptionpaneproject2

Control Structure

The finished project myownwhileproject

Written by hkai in: Java, Learning Track | Tags:
Nov
13
2008
0

Java Programming with Passion: Day 1

The link to the online training.
I know I’m lazy, it’s nearly 3 months ago I decided to take this online training course, but it’s just today I started seriously. So I’m challenging myself to finish the 13 weeks online training within 2 weeks to cache up with others if any. To prove it, I’ll post the progress and my homework.

1. Getting started

Getting to know your Java programming environment

myhelloproject2.zip is the finished project.

Java programming basics

Difference about && and & is: & will evaluate the expression whether the 1st is true or false, so does | and ||.

int i=0; boolean result= (i>0) && (++i>0); //here the result=false and i=0 since ++i was not evaluted
result= (i>0) & (++i>0); //here result still false but i=1

The finished project mygreatestvalueproject2

Written by hkai in: Java, Learning Track | Tags:
Aug
13
2008
2

Flex in a week video training: Day 3

http://www.adobe.com/devnet/flex/videotraining/

Note for exercise 3.2: Using RemoteObject to send data to the server
I followed the URL to download lcds but get version 2.6. So there’s some difference with the exercise.

  • 3. lcds 2.6 installed with tomcat
  • 4. the exercise file is ex9_server.zip, I unziped it into \lcds\tomcat\webapps, it created a odt directory
  • 5. start lcds: All Programs > Adobe > LiveCycle Data Services ES 2.6 > Start LiveCycle Data Services Server
  • 6. the url is http://localhost:8400/odt
  • 17. the root folder is C:\lcds\tomcat\webapps\odt
  • 18. the root url is http://localhost:8400/odt/
  • 22. the out folder is C:\lcds\tomcat\webapps\odt\adobeODT-debug
    adobeodt.jpg
  • 28. the url is http://localhost:8400/odt/adobeODT-debug/AdobeODT.html

exercise 3.1: Validating form data

exercise 3.2: Using RemoteObject to send data to the server

exercise 3.3: Implementing drag and drop between components

Note: in step20, the code is: rf.selectedRoom= dropData[0];

exercise 3.4: Using XML with E4X

Written by hkai in: Flash/Flex, Learning Track |
Aug
11
2008
0
Aug
06
2008
1

Java Programming with Passion: Week1

It’s been 2 years since my last Java project. I decided to spend sometime to renew my Java knowledge by taking Sang Shin’s course.
I’ll report my progress and upload my finished homework here.

You can find the tutorial here 

Written by hkai in: Java, Learning Track |
Aug
06
2008
1
Sep
13
2007
0

PRADO Framework: The Blog Tutorial

I was following the Blog tutorial. At the Day4: Creating ListPostPage, I get this error message:

TActiveRecordException
Description

Unable to find PostRecord::$RELATIONS['author'], Active Record relationship definition for property “author” not found in entries of PostRecord::$RELATIONS.

The code: PostRecord.php:
    public $author; //holds an UserRecord
 
    protected static $RELATIONS=array
    (
        ‘author’ => array(self::BELONGS_TO, ‘UserRecord’)
    );

The solution is:
change the $RELATIONS to public:

    public static $RELATIONS=array
    (
        ‘author’ => array(self::BELONGS_TO, ‘UserRecord’)
    );

Written by hkai in: Learning Track, PHP |
Jun
27
2007
0

AJAX Tutorial: AJAX Advanced

Some example learned in AJAX Advanced. I don’t think it’s enough for AJAX learning. Will find a good book for AJAX later.

Written by hkai in: AJAX, Learning Track |
Jun
26
2007
0

AJAX Tutorial

Today finished the AJAX Basic in this tutorial
It tells some very basic ideas. Will keep reading the AJAX Advanced this week.

Written by hkai in: AJAX, Learning Track |
Jun
26
2007
1

TIBCO GI: getting started

TIBCO General Interface™ is an open source project focused on enabling rapid creation of reliable Ajax applications, components and portlets with the look and feel of desktop graphical user interface applications.
Today I read the getting started and developer guide Ch5, finished the tutorial of creating application and communication with web service.

Written by hkai in: AJAX, Learning Track |

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes