$i->php();

Hãy tiết kiệm điện và sử dụng opensource để bảo vệ môi trường

Dot Net Interview Questions – Part 3

ngocbd | December 30, 2008

1.What is a stack? What is a heap?

Ans : Stack is a place in the memory where value types are stored. Heap is a place in the memory where the reference types are stored.
2.What is Boxing/Unboxing?
Ans : Boxing is used to convert value types to object.
E.g. int x = 1;
object obj = x ;
Unboxing [...]

Dot Net Interview Questions – Part 2

ngocbd | December 30, 2008

1.What are server controls?

Ans : ASP.NET server controls are components that run on the server and encapsulate user-interface and other related functionality. They are used in ASP.NET pages and in ASP.NET code-behind classes.
2.What are Sealed Classes in C#?
Ans : The sealed modifier is used to prevent derivation from a class. A compile-time error occurs if [...]

Dot Net Interview Questions part 1

ngocbd | December 30, 2008

1.What method do you use to explicitly kill a users session?
Ans : Syntax: Session.Abandon()
Note : The Abandon method destroys all the objects stored in a Session object and releases their resources.If you do not call the Abandon method explicitly, the server destroys these objects when the session times out.
2.What methods are fired during the page [...]

Cakephp 1.2 final ra lò

ngocbd | December 29, 2008

Cakephp 1.2 final ra lò
Today, the history of the CakePHP grows stronger. December 25, 2008 will be remembered as one of the most important points in this history. After exactly 2 yrs from the first development release, we can happily say we have the most stable and powerful web framework available. Please enjoy our big [...]

Mẹo vặt với Apache 2

ngocbd | December 25, 2008

1. Để thêm một module vào apache (trên linux – win thì không biết )
a2enmod tên_mod
ví dụ
a2enmod rewrite
để thêm mod rewrite
2. Xem các module đã cài đặt
apache2ctl -l

method chaining php

habogay | December 24, 2008

Trong một số thư viện của PHP người ta thường dùng method chaining để viết code ngắn gọn và đẹp hơn .
Doctrine là một ORM framework tận dụng triệt để cách viết này , một số khác có thể thấy trong các thư viện của Zend Framework .
Doctrine :

Zend Framework :

$mail = new Zend_Mail();
$mail->setBodyText(‘This is [...]

Happy Birthday To DaiCa

chaubl | December 19, 2008

Hướng dẫn cài đặt flex sdk trong Ubuntu

hoanbn | December 18, 2008

Để có thể làm việc được với Flex, về cơ bản chúng ta sẽ cần cài đặt 2 chương trình sau:
- Flex SDK: là một chương trình biên dịch và gỡ lỗi command line. Đây là một chương trình miễn phí của Adobe. Bạn có thể download miễn phí tại đây.
- Flash Flayer 10: [...]

enterprise PHP nè

hoangnd | December 7, 2008

thấy cái slide này hay hay, vác về blog xem anh em học hỏi
Enterprise PHP (php|works 2008)
View SlideShare presentation or Upload your own. (tags: php phpworks)

chơi với RIA

hoangnd | December 1, 2008

RIA là gì?
RIA – Rich Internet Application là một dạng ứng dụng web (web application) cố gắng thể hiện những chức năng truyền thống của phần mềm chạy trên desktop. Ở mức nào đó, RIA xóa nhòa lý thuyết phi trạng thái của giao thức HTTP.
RIA có đặc điểm gì?

ứng dụng RIA chạy hoàn toàn [...]