J2EE – Java 2 Enterprise Edition

Introduction au Java Framework

Le «Java Framework» (Java 2 Platform) est composé de trois éditions, destinées à des usages différents :

  • J2ME : Java 2 Micro Edition est prévu pour le développement d’applications embarquées, notamment sur des assistants personnels et terminaux mobiles ;
  • J2SE : Java 2 Standard Edition est destiné au développement d’applications pour ordinateurs personnels ;
  • J2EE : Java 2 Enterprise Edition, destiné à un usage professionnel avec la mise en oeuvre de serveurs.

Đọc tiếp »

Posted in J2EE. Thẻ: . Leave a Comment »

Virtual host với Apache và windows

Đêm lang thang ngồi buồn, định làm cho xong cái trang thông tin mà không tập trung được, thôi thì tổng hợp cái bài ni cho nó có ích, chứ lang thang net lắm mà không mần chi cũng vô bổ!

Với những bạn yêu lập trình web, chắc không lạ gì với Apache… bài viết này (đúng ra là bài dịch và tổng hợp lại) hướng dẫn bạn tạo dịch vụ vhost trong windows nghịch localhost cho vui nhà vui cửa …
Bắt đầu nhá! Đọc tiếp »

Le top 10 des fautes d’orthographe

UNE EXPERIENCE unique menée fin 2008 à l’IUT de Lyon a permis d’établir un palmarès des fautes les plus fréquentes commises par environ un millier d’étudiants en 1re année.

Voici le top 10 de leurs lacunes. Đọc tiếp »

Vitamin được phân loại như thế nào?

Có tất cả 13 loại vitamin và cơ thể chúng ta cần tất cả không chừa một loại nào. Vitamin không phải là thức ăn, chúng không thể mang lại năng lượng cho bạn, nói cách khác bạn không thể “sung” tức thì sau khi uống vitamin. Thế nhưng, cơ thể bạn cần vitamin (nhất là các vitamin họ B) để chuyển hóa thức ăn thành năng lượng. Vitamin được phân thành hai loại chính sau đây :

  1. Vitamin hòa tan trong mỡ : Các loại vitamin này được lưu trong cơ thể, chủ yếu trong mỡ và gan. Vitamin A,E,D,K là các vitamin có thể hòa tan trong mỡ (không phải nước) và bạn không cần phải bổ sung chúng vào cơ thể hàng ngày. Vì vậy, nếu bạn bổ sung liên tục các loại vitamin dạng này vào cơ thể có thể sẽ tạo ra hiệu ứng ngược có hại cho cơ thể. :evil:
  2. Vitamin hòa tan trong nước : Các loại vitamin có thể hòa tan trong nước sẽ không tồn tại được lâu trong cơ thể bạn bởi nó sẽ theo mồ hôi và nước tiểu đi ra ngoài cơ thể bạn rất nhanh. Vitamin C và họ vitamin B là các loại vitamin đặc trưng hòa tan trong nước. Bởi lý do này, bạn phải bổ sung vitamin dạng này hàng ngày. Cơ thể của bạn sẽ không bị gây hại bởi các vitamin hòa tan trong nước nếu bạn uống chúng có nhiều hơn bình thường một chút bởi chúng sẽ được thải ra rất nhanh, trừ khi bạn uống vitamin còn nhiều hơn uống nước! :mrgreen:

Theo facts.baomoi.com

mod_rewrite – Part 3: build your own “fantasy” URL

mod_rewrite tutorial: In this tutorial, I will show you how to make “bestethnic.html” to instead “product.php?id=3″. Before you read, make sure you have understood part 1 and part 2 from this series.

Assume, you work on www/product (it root folder for www.yoursite.com).

Ok, folow this steps: Đọc tiếp »

Posted in PHP. Thẻ: , . Leave a Comment »

mod_rewrite – Part 2: Instalasi modules in Apache

If you want to build ‘fantasy’ URL, You need helping from a apache’s module that we called mod_rewrite. This is realy famous modules in Apache. so, I think it always ready in common installation package.

Try to look from phpinfo(). Find installed modules in your package. This is example modules from my local server: Đọc tiếp »

mod_rewrite – Part 1: create your “fantasy” URL

“Hey, guys! I just hear a fantastic ethnic music at blablabla.com/?cat=312&id=e0347&p=93447″, talk Aya to her friends.

mmm… its hard to say (and remmember) that URL. I am sure, you will agree with me. How about if Aya say like this, “Hey, guys! I just hear a fantastic ethnic music at blablabla.com/bestethic.html”.

Yes, you can made ‘fantasy’ URL to instead of dynamic URL. Đọc tiếp »

Posted in PHP. Thẻ: . Leave a Comment »

Makefiles

Compiling your source code files can be tedious, specially when you want to include several source files and have to type the compiling command everytime you want to do it.
Well, I have news for you… Your days of command line compiling are (mostly) over, because YOU will learn how to write Makefiles.
Makefiles are special format files that together with the make utility will help you to automagically build and manage your projects.

For this session you will need these files:

I recommend creating a new directory and placing all the files in there.

note: I use g++ for compiling. You are free to change it to a compiler of your choice Đọc tiếp »

Posted in Linux. Thẻ: . Leave a Comment »

JSON

JSON (JavaScript Object Noattion) là 1 định dạng hoán vị dữ liệu nhanh. Chúng dễ dàng cho chúng ta đọc và viết. Dễ dàng cho thiết bị phân tích và phát sinh. Chúng là cơ sở dựa trên tập hợp của Ngôn Ngữ Lập Trình JavaScript, tiêu chuẩn ECMA-262 phiên bản 3 – tháng 12 năm 1999. JSON là 1 định dạng kiểu text mà hoàn toàn độc lập với các ngôn ngữ hoàn chỉnh, thuộc họ hàng với các ngôn ngữ họ hàng C, gồm có C, C++, C#, Java, JavaScript, Perl, Python, và nhiều ngôn ngữ khác. Những đặc tính đó đã tạo nên JSON 1 ngôn ngữ hoán vị dữ liệu lý tưởng. Đọc tiếp »

Posted in JSON. Thẻ: . Leave a Comment »

Linux commands

This is a linux command line reference for common operations.
Examples marked with • are valid/safe to paste without modification into a terminal, so
you may want to keep a terminal window open while reading this so you can cut & paste.
All these commands have been tested both on Fedora and Ubuntu.
Đọc tiếp »