Cesar D. Rodas, web development. Technology news. PHP, MySQL, Apache, C, Bash, ASM

Archive for the ‘servers’ Category

Remote File system in PHP

Monday, October 22nd, 2007

Hello to every one, you may be surprised by the title of this post and you may be wondering why a remote file-system in PHP? If around there exist many projects that do that, why re-invent the road?

Well, there are sometimes that you are not the root and you need to share files, especially when you had shared hosting or simple, you wanna became the competition of Amazon S3 (I don’t know why the first example is a bit more possible than the seconds =) ). (more…)

PHP: optimizing the use of Arrays

Saturday, September 29th, 2007

Write programs in PHP is very easy, that is because PHP syntax is simple and very effective. But also in PHP you must have some concepts for write effective programs, because if you are planing to have a very busy web site that little optimizations tips could help you to handle more visitors and to offload a little the processor. (more…)

PHP: Amazon S3 Stream Wrapper

Monday, September 24th, 2007

PHP since version 4 comes with a great feature that is with the possibility to register new Stream Wrapper. (see this articles are good, this, an this too).

Usually IO functions (fopen, unlink, mkdir and others) are handle by the Operating System or an Deamon(service) that works with the hardware for do the operation. PHP because is an JIT (just in time compiling, a kind of interpreted language) gives a tool to developers that is create a Class that manage a type of IO operations, for example take a look behind: (more…)

How to avoid hacker attack through PHPWCMS

Wednesday, August 29th, 2007

Hello to every one!, after almost a month of inactivity I decide to write about this, my idea with this article is show how to fix a big problem and not talk bad about and open project.

Before beginning, PHPWCMS + other bad php configurations is a really back door. I think PHPWCMS is not a back door and I want to think that if there is a bug in that project that was only an human error, that was not intentional. (more…)

Getting recognition for write Free Software

Wednesday, August 1st, 2007

After a long time of be offline without write nothing in my blog, I am back. In this time I will write about the PHP Classes Innovation Award. This is a method used by PHP Classes site to give recognitions to users that with contribute really good PHP classes or projects and encouraging they to do that usually.

Congratulations to the actually winner Khaled Al-Shamaa with ArZipStr him class that compress text using letter frequency for its idiom and Michael Kamleitner for him second place with him phpTube class that upload and download video files from YouTube and to the others. (more…)

PHP: implementing a heavy use of AJAX

Thursday, July 5th, 2007

Today, the trend is to implement AJAX in everything related with Web. AJAX (Asynchronous JavaScript and XML) is not a new programming language, It is a “style” of development that mix two technologies, the client side (JavaScript) and the server site (usually PHP, JSP, Java or other). (more…)

Control your house from Internet

Wednesday, July 4th, 2007

I have finish my high school in a technical school from Paraguay, there was where I learn a few of electronic.

I remember a project that I’ve done that was turn on and off electrical devices with a computer using the Parallel Port (LPT25) (more…)

PageRank explained for mere mortals

Monday, July 2nd, 2007

The main reason why Google become the most popular search engine is the fact that it was able to provide the most relevant results to the user searches.

Google search results are sorted using an algorithm named page rank. It takes in account the number of ingoing and outgoing links to each page.
(more…)

How to manage thousands visitors, Part III. www.wikipedia.org

Thursday, June 28th, 2007

Following the articles of How to manage thousands visitors, I will now write about a very very big site which uses MySQL and PHP5. Also it is so big that handle about 10,000 and 30,000 page requests per second on a normal day. Yeah a very very huge traffic.

It do about a traffic of about 864,000,000 to 2,592,000,000 request per day. A great number of traffic don’t you think? (more…)

How to manage thousands visitors, Part II. www.sqlite.org

Friday, June 1st, 2007

Thank you D. Richard Hipp for share this information.

Following the articles of How to manage thousands visitors, right now I write about the SQLite emblemed database website.

According D. Richard Hipp (SQLite main developer) and Alexa, the SQLite.org is a very very busy site.

SQLite website runs on a leased virtual server. The virtual server is leased from http://www.linode.com/ and is a Linode 160. This is roughly a 200MHz machine with exactly 160MiB of RAM and about 8GiB of disk space. There are around 19 or so equivalent virtual machines running on the same physical box.

(more…)

Enter your email address:

Delivered by FeedBurner

this Site

Archives

August 2008
S M T W T F S
« Jun    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Syndication

Google