Thursday, October 15, 2009

Write about what you don't like your neighbour


My family have gone in Ho Chi Minh city to beestablish oneself since 2000. Now, we are living at 11 district near Dam Sen park.

Do you know? The first time, I feel my life very difficultly because noisy and bustling of city so have many night I can’t sleep.

The best special, one of reasons made lack of sleep that is my neighbour. The next-door neighbour not only to music to midnight but also turn on music very loud. Sometimes, they talk very loudly and noisly. I don’t like them any at all. They don’t care for other family.

We lived near together but we never talk to gether. They don’t care who are living near them I hate their life style.

I remembered my grandmother said that “sell the best friends from far, buy near neighbour”.

Tuesday, September 22, 2009

New jewelry website


I have just found one website. it show a lot of product such as rings, jewelry...
i think that everybody will like it.

Tuesday, July 7, 2009

Shayne Ward --- No Promises


Hey baby, when we are together, doing things that we love.
Every time you're near I feel like I`m in heaven, feeling high
I don`t want to let go, girl.
I just need you to know girl.

I don`t wanna run away, baby you`re the one I need tonight,
No promises.
Baby, now I need to hold you tight, I just wanna die in your arms

Here tonight

Hey baby, when we are together, doing things that we love.
Everytime you're near I feel like I`m in heaven, feeling high
I don`t want to let go, girl.
I just need you you to know girl.

I don`t wanna run away, baby you`re the one I need tonight,
No promises.
Baby, now I need to hold you tight, I just wanna die in your arms

I don`t want to run away, I want to stay forever, thru Time and Time..
No promises

I don`t wanna run away, I don`t wanna be alone
No Promises
Baby, now I need to hold you tight, now and forever my love

No promises

I don`t wanna run away, baby you`re the one I need tonight,
No promises.
Baby, now I need to hold you tight, I just wanna die in your arms
I don`t wanna run away, baby you`re the one I need tonight,
No promises.
Baby, now I need to hold you tight, I just wanna die in your arms
Here tonight.

Friday, June 5, 2009

Integrating Macromedia Flex with Java

Developing Internet applications with J2EE servers today usually consists of a presentation layer such as Struts, Tapestry, WebWork, or Spring. These tools generally follow Model-View-Controller (MVC) architecture and output HTML to a browser. The typical programming model for web development is to allow users to issue requests to an application server for each action in the application. For every action the user requests in the application, the server generates a new response that allows the user to submit a new request for more information. A browser typically is used to render the user interface to the user. However, browsers are thin clients with limitations that affect both development and the end-user experience.

Rich Internet Application (RIA) technologies are emerging to handle the limitations of the presentation layer. This article will take a pragmatic approach to understanding what a Rich Internet Application is and how to integrate an RIA into your architecture. It will also identify potential challenges when integrating with some popular open source frameworks.

Browser Limitations

So what is the problem with the current solutions? Maybe nothing is wrong if the application behaves correctly and allows the user to be productive. At one time or another, however, most web developers have complained about the limited capabilities when using a browser as a client. Here are some current problems when developing web applications using a browser:

  • Browsers interpret scripting languages, such as JavaScript, in an inconsistent manner. This forces developers to write the same code multiple times to accommodate each browser.
  • Simple user interface effects such as tabbing, wizard-based forms, and large tabular data set handling, can be cumbersome to develop and require a lot of extra coding on a browser.
  • HTML is a limited, static markup language that cannot be extended.
  • Event handling within the user interface can be challenging. Because the rendered HTML pages can only be displayed one at a time, events cannot update another page without going back to the server.
  • Serialization of application state can be achieved only through cookies, which do not support objects.
  • It is nearly impossible to develop occasionally connected clients using a browser.

These examples reiterate what most web developers already know: current toolsets have limitations. Developers have to find workaround solutions for some of these challenges when working through a browser. Developers and users are outgrowing the current capabilities of a thin client.

Rich Internet Applications

As a way to overcome some of the limitations defined above, consider Rich Internet Application development. An RIA gives the user a thick client with extended capabilities not available in browsers today. The most common RIA clients for J2EE are Java and Flash. When it comes to developing large, data-centric applications, RIAs are generally strong . Several solutions are available for developing Rich Internet Applications including JDNC (JDesktop Network Components), Laszlo, Thinlet, Java Web Start, and Macromedia Flex.

Rich Internet Applications can help address the problems described in the previous section. Here is a list of features that RIAs can provide:

  • RIAs offer the same UI components as browsers, plus they provide new native, richer components. Examples include a numerical stepper, a slider control, an inline data grid component, and a menu bar.
  • Sophisticated RIA applications allow layout manager components such as tab navigators, accordions, trees, and other layout controls comparable with AWT and Swing development.
  • RIAs provide drag-and-drop capabilities.
  • Languages within the RIA are consistent across all clients and do not have to be rewritten for different implementations.
  • The request/response model is not required for every action in the user interface. With Rich Internet Applications the user interacts with the UI and only makes requests to the server when necessary. RIAs have the ability to post data to the application server using HTTP protocol methods. Usually, however, the preferred mechanism with RIAs is remoting, which is supported in different ways depending on the RIA used. RIAs typically provide expanded sets of protocols that can communicate over HTTP.
  • Event handling across multiple components is possible.
  • RIAs allow you to store more information on the client instead of using the HttpSession. This reduces memory on the application server.
  • Serialization of state, usually in the form of objects, provides the potential to create occasionally connected clients.

Rich Internet Applications are fairly new technologies and introduce new concerns for those developing these types of applications. They are not a silver bullet solution for all applications, and depending on the implementation, can be experimental. However, if you think your application can benefit from a richer UI design, then an RIA might be for you. This article will now focus on one RIA solution, Macromedia Flex, and will discuss integration concerns.

Macromedia Flex

Macromedia Flex is a commercial presentation layer server that produces Rich Internet Applications. The Flash plug-in is required to be installed since this is the runtime environment for Flex applications. Most browsers already come equipped with the Flash plug-in, which helps justify using Flex for RIA. We will discuss what it means to use the Flash plug-in instead of a Java plug-in to communicate with a J2EE application server.

Developers use two core languages to create Flex applications. The first core language is MXML, the Macromedia Flex Markup Language, which includes a rich set of XML tags that allows developers to layout user interfaces. MXML can also be referred to as an XUL, or XML UI Language. These tags can be extended, unlike HTML, with additional capabilities that the application requires. Other MXML constructs allow you to call remote objects, store data returned in a model, and customize your own look and feel to MXML components.

The second core language for Flex development is ActionScript 2.0, which is an ECMA-compliant language similar to JavaScript. ActionScript elements are coded inside MXML pages. This is a strongly typed object-oriented language that should be familiar to Java developers. ActionScript also has robust event handling capabilities to allow the application to respond to dynamic user interactions. Because ActionScript runs inside the Flash plug-in, there is no need to rewrite several versions of the same code to support different browsers. This may not be the case with JavaScript code in a browser.

Both MXML and ActionScript are text-based languages and can be written in a simple text editor, an IDE tool such as Eclipse, or a more sophisticated tool like the Flex Builder from Macromedia. If you have experience with Java, XML, and a scripting language such as JavaScript, you will experience a small learning curve to Flex development.

The Flex server is responsible for translating the MXML and ActionScript components into Flash bytecode in the form of .SWF files. This process is similar to compiling JSP files into servlets by a Java web application container. The SWF file is executed on the client in the Flash runtime environment. The Flex server provides other services such as caching, concurrency, and handling remote object requests.

Introducing an RIA Framework to Your Existing Architecture

Now that you have an understanding of some RIA concepts, let's look at how to introduce an RIA into your existing architecture. This will include a discussion about how an RIA should behave in a layered application with an emphasis on decoupling. Furthermore, this discussion will highlight some potential pitfalls when developing with Flex in combination with some popular open source frameworks. These examples should help identify potential concerns when introducing an RIA within your architecture.

Let's begin by identifying a layered architecture. An example of this architecture might include the following layers: presentation layer, business delegate layer, business integration/service layer, and persistence layer. Here is a potential implementation for these respective layers:

Flex + Business Delegates + Spring Framework + Hibernate

The remainder of this article will concentrate on integration with each of these layers.

What About My Existing MVC Presentation Layer?

The presentation layer in a web application is designed to render a user interface for users, handle requests to backend services, and store data models of information. Developers who are new to RIA development have an initial natural tendency to want to reuse existing Struts components. However, products like Flex provide their own MVC architecture within them. Do you really need to maintain a presentation layer that consists of two MVC frameworks?

Let's look at a practical example of what happens when a Flex client makes a request through a Struts component to a Java service on the application server. A request made from the Flex client is sent to the Struts presentation framework before being received by higher layers in the application. Figure 1 shows an example of what not to do:

How not to integrate Flex and Struts with other Java components
Figure 1. How not to integrate Flex and Struts with other Java components.

Presentation frameworks such as Struts operate by transmitting HTML requests over HTTP. While it is possible to use the HTTP protocol with a Flex client, developers are encouraged to use remote object invocations over HTTP as opposed to posting HTTP requests for performance and object-oriented gains. Therefore, using these two presentation frameworks serially can provide a protocol mismatch. Unless you have a specific need to integrate Struts directly with an RIA, avoid this. Figure 2 shows a better solution when using Flex and Struts:

Introducing Flex and Struts in parallel with other Java components
Figure 2. Introducing Flex and Struts in parallel with other Java components.

Figure 2 suggests how to have separate Struts components and Flex components coexist. This satisfies a need when the application requires parallel RIA components and lighter-weight Struts-like components.

Developers should utilize the RIA client for what it was intended to do. This is definitely a shift in thinking for traditional web developers for whom the page request/response paradigm has been familiar. RIA products like Flex are not request- or response-driven like Struts. The RIA client is responsible for updating the UI without having to go back to the server in all instances.

Struts will not be the only thing you have to think about when using an RIA. It will take a while to become familiar with this type of technology. Following this learning curve, the biggest issue is integration of the Java server-side components. The bottom line is not to fight against the Rich Internet Application concepts.

(by onjava.com)

Monday, June 1, 2009

Top 10 Adobe Flex and AIR applications for students

Going to university is an amazing experience: getting to the next chapter in your life, finally gaining some independence, and showing up to your 2:30 class in PJs. However, you'll quickly realize that great schooling is expensive, and you're going to have to work hard to make the experience worthwhile. I'm here to help, and while I can't carry your mini-fridge to your dorm or stop your roommate from stealing your food, I can give you a list of 10 apps that should help you survive the next four (or five or six) years of university—apps that'll help you prepare for exams, apps that'll help you with your life outside the classroom, and a couple that will make you want to bang your head on a desk for not working on that term paper two months ago.

10. Timetoast

Have to memorize so many dates that your head is about to explode? Timetoast will help you organize them into a way that makes sense. Add the dates with a description and Timetoast will sort them into a timeline for you. You can also add pictures and browse timelines that other users have created, so if your notes look like they should be sketches on the side of a cave wall, you might just be in luck and find what you need already created.

Timetoast

9. Craig's List Desktop

CL Desktop makes browsing Craig's List easier. Pictures are included in the listings. Searching has more options. You can save your searches, and listings update in real time. It won't help you carry that three-legged couch from the '70s into your place, but it will help you find it. The only weakness right now is that you can't create your own listings on it yet.

Craig's List Desktop

8. TweetDeck

Twitter is a social network that lets you tell the world about what you're thinking or doing right now. Combine that with TweetDeck and a good helping of self-importance, and you'll be hooked for good. TweetDeck lets you seamlessly read and write tweets outside of your browser, and can hide in a corner on your screen so that you can twitter responsibly and not lose an entire day to messages less than 140 characters long.

TweetDeck

7. IExpenseOnline

IExpenseOnline is like having a financial advisor and your mom inside your computer. While this app does require you to put in your own spending information, it's available to anyone globally. It helps you track what you spend and make, and has tips on how to cut down your expenses and save your money. It's also easier to convince the parents to send you more money if you can confuse them with pie charts.

IExpenseOnline

6. TokBox

Thanks to TokBox, you'll never need to buy another calling card. TokBox lets you call anyone with an e-mail address and leave messages, and can pull your contact list from a variety of IM tools (MSN, AIM, etc.). The coolest part? You can record video as long as you have a web cam. Give your family and friends back home a virtual tour of your new digs.

TokBox

5. Photoshop Express

With Photoshop Express, Adobe combines the photo editing power and ease-of-use of Photoshop Elements with the RIA capabilities of Flex. You'll get two free gigs for photo storage, all your basic and favorite photo editing options (crop out that "friend" that you don't really like and pretend they were never there), and your own free URL to host all your pictures and albums. You can also seamlessly send your snapshots to Facebook, Photobucket, Flickr, or Picasa, so all your friends can find your new photos without having to hunt them down.

Photoshop Express

4. mooFlair

mooFlair is one of the best video delivery services available for your desktop. It allows you to continue watching videos while you browse through what you want to see next, create playlists, and download videos to your desktop so you can drop them into your iPod. Now you can watch the Carlton dance wherever you go.

mooFlair

3. Finetune

Internet radio just got better. Finetune, a Webware 100 winner, is a music sharing service that focuses on letting users create and share playlists. Using its large music directory, Finetune can make a playlist for you based on your favorite artists. Also check out Finetune desktop, which allows you to get onto Finetune without even opening your browser.

Finetune

2. Acrobat.com

Acrobat.com is an Adobe product that helps you work your way through any group project. Here's what you get:

  • Buzzword: This free document creator can import any text document (.txt, .doc, and many more). You can share your document with anyone and allow them to read it, add comments, or just edit it altogether (great for group projects). You also have a record of all your changes and the option to revert back to earlier copies.
  • Adobe ConnectNow: Share your desktop with anyone in your session with support for instant messaging, live chat, and even webcams. It's really useful when not everyone can make your group meetings: just do your meeting live over ConnectNow so that no one is left out of the loop.
  • Adobe Share: Not only do you get 5 GB of free storage, but you have the option to share any of the files stored in it with anyone who has an e-mail address. It also allows you to update files seamlessly, without having to make numerous redundant copies. Finally, the days of e-mailing each other the 40th version of your presentation when all you did was change "there" to "their" are over!

Acrobat.com

1. MediaMaster

Can you imagine how you'd feel if your hard drive fried and you lost everything on your computer: your documents, your pictures, your saved games, and—worst of all—your songs? MediaMaster won't save your computer from you tossing it out the window like a prop from Animal House but it will save your entire song library so you don't have to rip/download/buy them all over again. You can also check out what other users are listening to by browsing over to their playlists. It's also great for studying when you're at the library and forgot your iPod at home.

MediaMaster

Where to go from here

If you're a student, you can get Flex Builder 3 for free and start building your own Flex apps.

Also check out the Flex group on Facebook, where you'll find more great content like this as well as job listings, contests, and giveaways.

(by adobe.com)

If one day you feel like crying ...


If one day you feel like crying ...
Call me.
I don't promise you that ...
I will make you laugh
But I can cry with you

If one day you want to run away -
Don't be afraid to call me.
I don't promise to ask you to stop
But I can run with you.

If one day you don't want to listen to anybody,
Call me and ...
I promise to be very quiet.

But ...
If one day you call and there is no answer...

Come fast to see me ...
Perhaps I need you ...

Sunday, May 31, 2009

Boys over Flowers (Drama - 2008)


The ‘Iconic Love Story’ for those who wish to stay young at heart forever!
‘Boys over Flowers’ is the highly anticipated remake of the famous Japanese comic book series. Jan-di, the Heroine, is the poor but bright girl who has a strong sense of justice and full of vitality. She transfers to an exclusive high school where only the rich go. In there, she encounters with the four rich and quirky boys and experiences love and friendship.
The storyline illustrates the supreme fantasy that a drama can bring out the most. Each of us probably has an experience of admiring or dreaming of something. The drama ‘Boys over Flowers’ is the concentration of the admirations.