Development Thing

Masukan dari Juni 2007

Installing PHP on Java Webserver Overview

25 Juni 2007 · Tinggalkan sebuah Komentar

Installing the PHP Engine as a CGI Program

The CGI interface affords a great deal of versatility in how you install and manage the PHP engine. Unfortunately, CGI imposes performance and state penalties. Table 1 presents some pros and cons of the PHP engine as a CGI.

Table 1: Why Use CGI?

Pros

Cons

Unique PHP engines. You can compile the PHP engine with unique options for each directory or for each virtual server.

Large performance penalty. CGI is expensive because a new process must be executed for each request. This can require expensive CPU and memory resources to launch, process, and terminate a request. For languages that are parsed (for example, PHP, Perl, Shell), where a virtual machine has to be created and the script itself parsed and compiled before the final execution, this is a resource-expensive and time-expensive operation.

Platform portability. The nature of CGI provides a great deal of portability from server to server, as well as from operating system to operating system.

Inability of PHP engine to directly communicate with HTTP engine. PHP functions (such as virtual) that require direct communication with the HTTP engine do not work.

Installing the PHP Engine as a FastCGI Server

The FastCGI interface provides much of the scalability of native APIs with much of the versatility of the CGI interface by keeping the executed binary running from request to request instead of terminating after a single request. Table 2 presents some pros and cons of the PHP engine as FastCGI.

Table 2: Why Use FastCGI?

Pros

Cons

Unique PHP engines. You can compile the PHP engine with unique options for each directory or for each virtual server.

Some performance penalty. FastCGI achieves performance improvements by not terminating a process after servicing a request. Regardless, the process runs outside the server memory, and a performance penalty is inevitable due to the out-of-process communication required between Web Server and the PHP engine.

Platform portability. The nature of FastCGI provides a great deal of portability from server to server and from operating system to operating system, requiring only that Web Server understand how to interact with the FastCGI server processes.

Inability of PHP engine to directly communicate with HTTP engine. PHP functions (such as virtual) that require direct communication with the HTTP engine do not work.

Installing the PHP Engine as an NSAPI Plugin

The NSAPI interface is the native API for Web Server and provides a highly scalable environment in which third-party applications can run. The PHP engine is run as part of the server process, has direct access to the memory where requests are stored, and can manipulate them as is appropriate. Table 3 presents some pros and cons of the PHP engine as NSAPI.

Table 3: Why Use NSAPI?

Pros

Cons

Highly scalable. Multithreaded, multiprocess environment is massively scalable (see Notes on Web Server Architecture).

Thread safety. NSAPI applications need to be thread safe. Application code that is not thread safe can crash Web Server.

Kategori: Uncategorized

Real Definition of Success is…

22 Juni 2007 · Tinggalkan sebuah Komentar

by: Joel Comm

How long is a piece of string?

No one would ever ask such a stupid question, would they? Well, I get asked some pretty silly questions sometimes. Like “How long will it take before I become a successful online publisher?”

There’s no one answer to that. Not just because it depends on the number of hours you work each day, the quality of your content and your skill at generating traffic.

But also because it depends on your definition of success.

For many of the people I’ve helped build revenue-generating websites, success simply means a little extra income on top of their regular salary. For others, it means a chance to replace their salary with work they can do from home. And for a few, it means nothing less than a house in Cancun and a team of trained staff to do all the work while they spend the profits on the beach.

There’s only one real measure of success though.

It’s not the number of dollars in your bank account…

It’s not the amount of traffic your site receives…

And it’s not even the size of the check that Google sends you each month.

It’s the amount of pleasure you get out of being an online publisher.

Online publishing is a job. It’s a job that can pay a lot of money and let you set your work conditions. But like any job, if you don’t enjoy it, you shouldn’t be doing it.

That’s sound advice in any field but in online publishing, it’s particularly true. That’s because there’s no better measure of your content’s interest level than the amount of fun you had creating it.

If you enjoy creating your site, people will enjoy reading it.
They’ll come back, tell their friends and click your ads.

Achieve success by enjoying being an online publisher, and it won’t be long before you’re successful by all those other measures too.

Want to learn more about being a successful publisher?

Rick Butts has persuaded me to join him for a very unique teleseminar series called “Visitor 2 Cash”, in which I and several other Internet success stories will be sharing the ways that we generate multiple revenue streams through our sites.

Looks at the names that are going to be spilling their secrets on this series…

- Nathan Anderson (of Metawebs fame)
- Rick Raddatz (audio generator fame)
- Kirt Christensen (Internet marketing legend)
- and more!

Live life today!

Joel

Kategori: Uncategorized

Desain Casing Yang Revolusioner Dengan Ventilasi Kipas Depan Dan Belakang Yang Paling Maju

19 Juni 2007 · 1 Komentar

Taipei, Taiwan; 24 Apr, 2007ASUS telah meluncurkan casing seri TA-89 yang menggabungkan desain ventilasi yang maju, instalasi anti cedera, kemudahan akses pada komponen hardware, dan kapasitas hardware yang banyak untuk rancangan PC pribadi. Sebagai tambahan, casing ini stabil dan sasisnya dibuat dengan baik., selain itu desain port USB yang independen menyediakan kenyamanan akses ke peralatan USB bagi pengguna dan mencegah adanya interferensi ketika beberapa peralatan USB sedang terhubung.

Desain Ventilasi Yang Maju
TA-89 mendukung penggunakan dua kipas 80mm di belakang dan di depan serta adanya pilihan untuk melakukan upgrade kipas depan menjadi berukuran 120mm yang lebih besar untuk dapat menciptakan aliran udara yang lebih baik dengan kecepatan putar kipas yang lebih rendah serta pengalaman menggunakan komputer yang lebih sunyi. Celah ventilasi yang berada di samping berfungsi untuk menarik udara dingin untuk menurunkan suhu CPU dan kartu grafis serta adanya air-duct menyalurkan langsung udara dingin ke arah CPU, sementara itu celah ventilasi belakang yang unik meningkatkan ruang ventilasi disekitar kartu tambahan. Desain pendinginan yang menyeluruh memungkinkan pengoperasian yang panjang dan terus menerus untuk platform komputasi yang paling handal serta meningkatkan performa sistem dan stabilitas secara keseluruhan.

Kemudahan Instalasi
Rangka hard disk tanpa sekrup dengan penahan yang bersahabat dengan pengguna serta panel samping dengan sekrup yang dapat diputar dengan tangan, seluruhnya memungkinkan anda untuk mempermudah upgrade sistem dan melakukan pemeliharaan. Rangka hard disk yang anti cedera dan pinggiran metal yang melengkung, melindungi jari dari luka gores dan tersayat. Pintu drive yang terbuka dengan menggunakan pegas, mempermudah akses pada beragam drive optik dan peletakan port USB yang pintar mencegah adanya interferensi ketika beberapa peralatan USB sedang terhubung. Dengan seluruh fitur yang ada, membuat casing seri TA-89 sebagai casing yang mudah untuk dirakit sendiri.
Skalabilitas Yang Mengagumkan
TA-89 menyediakan dukungan untuk empat drive 5.25 inci dan enam drive 3.5 inci, tujuh slot PCI, dua port USB dan dua port audio untuk mendukung beragam drive optik, hard disk, sound card, LAN card dan berbagai perlengkapan lainnya.

Dimensi dengan tutup depanl
180 x 400 x 412 mm (WxHxD)

Faktor Bentuk MB
ATX;mATX

Rongga Drive
External 5.25″ x 4
External 3.25″ x 1
Internal 3.25″ x 5

Kipas Casing (mm)
Belakang: 80 x 2 or 120 x 1
Depan: 80 x 2
Ventilasi samping dengan air-duct

Slot Ekspansi
7

Port I/O depan
USB x 2
Audio x 2

Warna
Black/Silver/Black, Gray/White/Gray
Kembali
ASUS adalah penyedia solusi total 3C terdepan. Dengan staff yang secara global berjumlah lebih dari 100 ribu orang dan tim perancangan R&D berkelas dunia, omset untuk tahun 2006 mencapai 17.4 milyar dollar AS. ASUS berhasil masuk dalam Business Week Infotech 100 untuk 9 tahun berturut-turut, dan dinilai sebagai no.1 oleh the Wall Street Journal sebagai produk berkualitas terbaik di Taiwan.

Kategori: Uncategorized

Confusing , confusing, confusing…

18 Juni 2007 · Tinggalkan sebuah Komentar

VB .NET 2005? Aduh sepertinya aku perlu lebih banyak eksplorasi nih dengan yang satu ini. Banyak hal – hal baru seperti dataset, datatable dan xsd. Selain itu dukungan integrasi dengan MySQl masih jauh dari yang diharapkan.

Masalah utama adalah aku tidak tahu mulai dari mana untuk mempelaajrinya dengan benar. Untuk ASP .NET aku hampir menyerah. Sementara untuk VB nya masih tetap aku jalanin.

Beneran ngga nih Microsoft ngembangin produknya?

Kategori: Uncategorized