Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › XP or linux? file server/website
New Posts  All Forums:Forum Nav:

XP or linux? file server/website - Page 3

post #21 of 31
Try Freebsd. I heard it has the best uptimes.
post #22 of 31
Quote:
Originally Posted by stupid View Post
Not trying to incite a flame war, but .Net is likely the most powerful and universal library out there. The same languages (C# or VB[blech]) can be used for both desktop applications or web applications. The language itself is very easy to learn, but extremely powerful. The most useful IMO. Compared to php (I developed in php for about 4 years) you can get things done in half the time with half the code. The library is just that much larger and more capable.

For example, with the new LINQ architecture I can connect to a database and return a stored query with 7 words in code. The library is so well and constantly developed. There will always be MS hate (hell, I hate them a lot of the time too), but they really got the .Net framework right.

The only downside to asp.net [in my eyes] is that you are tied to a Windows server which everyone here has already gotten their hate out about. There is a Linux .Net framework called Mono (mono-project.com I think) that can do a lot, but it is not fully featured and a little behindso I don't recommend it.

ROR is fast [to develop in], but not as flexible (on rails...) and php is flexible but not that fast. I know that is just two, but most can be grouped in to one or another category.

Bottomline, ease and flexibilty are the advantages to .Net

Ok everyone, flame away

[NOTE: I want to make it clear, I am in no way bashing *nix servers, they are great and completely capable. But I am a strong proponent for .Net architecture in web development. And yes, I have extensive experience in both side of this.]
I'm sorry, but I hate .net, it's just not a nice platform. I think it really does depend on the developer. At the end of the day, a LAMP server (Linux, Apache, mySQL, PHP) is a more common setup, it's cheaper, and Linux really is a better server platform (again, some people dispute it, but most people would agree with me here).

I guess my main reason is I hate being tied to a M$ server, - not to mention a proprietary language which may change, end support, etc... PHP is open source, and therefore more reliable on that front. Also, I like developing in PHP. It is a nice language, in my opinion.

In any case, I say for this, a Linux server is the way to go.
Shinobu
(16 items)
 
Nodoka
(16 items)
 
Index
(4 items)
 
CPUMotherboardGraphicsRAM
Intel Core i5-3570K Asus P8Z77-I Deluxe HD6450 Flex Crucial 16GB (2x 8GB) Ballistix Elite 
Hard DriveHard DriveOSMonitor
Samsung SSD 840 EVO 250GB TOSHIBA DT01ACA300 Arch Linux Dell UltraSharp U2713HM 
MonitorMonitorKeyboardPower
Dell U2410 Dell 2407WFP Cherry - Cherry Blue Switches (Unlabeled keys) Seasonic X-650 
CaseMouseAudioAudio
BitFenix Prodigy Black Logitech M570 Trackball Sennheiser HD595 Creative GigaWorks T20 
CPUMotherboardGraphicsRAM
Intel Core i5 3570K Zotac Z77-ITX WiFi EVGA 680 GTX Samsung 
Hard DriveHard DriveOSMonitor
Samsung 256GB 830 Samsung SpinPoint HD501LJ Windows 7 Dell U2410 
MonitorMonitorKeyboardCase
Dell 2407WFP Dell E248WFP Cherry Black (MX Blue Switches, Blank Keys) Silverstone Sugi SG08B 
MouseAudioAudio
Logitech Trackman Logitech Z-5500 Sennheiser HD595s 
CPUMotherboardRAMHard Drive
AMD Athlon II X2 240e Asus M5A78L-M/USB3 Crucial 8GB (2x4GB) DDR3 1600Mhz Ballistix Sport 1.5TB Hard Drives 
  hide details  
Reply
Shinobu
(16 items)
 
Nodoka
(16 items)
 
Index
(4 items)
 
CPUMotherboardGraphicsRAM
Intel Core i5-3570K Asus P8Z77-I Deluxe HD6450 Flex Crucial 16GB (2x 8GB) Ballistix Elite 
Hard DriveHard DriveOSMonitor
Samsung SSD 840 EVO 250GB TOSHIBA DT01ACA300 Arch Linux Dell UltraSharp U2713HM 
MonitorMonitorKeyboardPower
Dell U2410 Dell 2407WFP Cherry - Cherry Blue Switches (Unlabeled keys) Seasonic X-650 
CaseMouseAudioAudio
BitFenix Prodigy Black Logitech M570 Trackball Sennheiser HD595 Creative GigaWorks T20 
CPUMotherboardGraphicsRAM
Intel Core i5 3570K Zotac Z77-ITX WiFi EVGA 680 GTX Samsung 
Hard DriveHard DriveOSMonitor
Samsung 256GB 830 Samsung SpinPoint HD501LJ Windows 7 Dell U2410 
MonitorMonitorKeyboardCase
Dell 2407WFP Dell E248WFP Cherry Black (MX Blue Switches, Blank Keys) Silverstone Sugi SG08B 
MouseAudioAudio
Logitech Trackman Logitech Z-5500 Sennheiser HD595s 
CPUMotherboardRAMHard Drive
AMD Athlon II X2 240e Asus M5A78L-M/USB3 Crucial 8GB (2x4GB) DDR3 1600Mhz Ballistix Sport 1.5TB Hard Drives 
  hide details  
Reply
post #23 of 31
Quote:
Originally Posted by lattyware View Post
I'm sorry, but I hate .net, it's just not a nice platform. I think it really does depend on the developer. At the end of the day, a LAMP server (Linux, Apache, mySQL, PHP) is a more common setup, it's cheaper, and Linux really is a better server platform (again, some people dispute it, but most people would agree with me here).

I guess my main reason is I hate being tied to a M$ server, - not to mention a proprietary language which may change, end support, etc... PHP is open source, and therefore more reliable on that front. Also, I like developing in PHP. It is a nice language, in my opinion.

In any case, I say for this, a Linux server is the way to go.
I think your self-confessed bias is at play here. I use both linux and windows servers. .NET may have some flaws, but it is a very nice platform. Applications can be built very quickly leveraging the framework to handle most of the load. Web applications can be prototyped in desktop applications using classes and then simply copy the class over to a website, write a quick wrapper and you are done. I love my linux server for what it does, but I have to develop something, it can be done quicker in .net than php. Granted that I am a little rusty with php, it isn't completely foriegn; but not as quick to develop with.
Main Rig
(15 items)
 
  
Reply
Main Rig
(15 items)
 
  
Reply
post #24 of 31
Quote:
Originally Posted by BFRD View Post
I think your self-confessed bias is at play here. I use both linux and windows servers. .NET may have some flaws, but it is a very nice platform. Applications can be built very quickly leveraging the framework to handle most of the load. Web applications can be prototyped in desktop applications using classes and then simply copy the class over to a website, write a quick wrapper and you are done. I love my linux server for what it does, but I have to develop something, it can be done quicker in .net than php. Granted that I am a little rusty with php, it isn't completely foriegn; but not as quick to develop with.
Well, what works for you.

Of course, I want to see my goal of world Linux domination through (so the software/hardware developers support us T_T)!
Shinobu
(16 items)
 
Nodoka
(16 items)
 
Index
(4 items)
 
CPUMotherboardGraphicsRAM
Intel Core i5-3570K Asus P8Z77-I Deluxe HD6450 Flex Crucial 16GB (2x 8GB) Ballistix Elite 
Hard DriveHard DriveOSMonitor
Samsung SSD 840 EVO 250GB TOSHIBA DT01ACA300 Arch Linux Dell UltraSharp U2713HM 
MonitorMonitorKeyboardPower
Dell U2410 Dell 2407WFP Cherry - Cherry Blue Switches (Unlabeled keys) Seasonic X-650 
CaseMouseAudioAudio
BitFenix Prodigy Black Logitech M570 Trackball Sennheiser HD595 Creative GigaWorks T20 
CPUMotherboardGraphicsRAM
Intel Core i5 3570K Zotac Z77-ITX WiFi EVGA 680 GTX Samsung 
Hard DriveHard DriveOSMonitor
Samsung 256GB 830 Samsung SpinPoint HD501LJ Windows 7 Dell U2410 
MonitorMonitorKeyboardCase
Dell 2407WFP Dell E248WFP Cherry Black (MX Blue Switches, Blank Keys) Silverstone Sugi SG08B 
MouseAudioAudio
Logitech Trackman Logitech Z-5500 Sennheiser HD595s 
CPUMotherboardRAMHard Drive
AMD Athlon II X2 240e Asus M5A78L-M/USB3 Crucial 8GB (2x4GB) DDR3 1600Mhz Ballistix Sport 1.5TB Hard Drives 
  hide details  
Reply
Shinobu
(16 items)
 
Nodoka
(16 items)
 
Index
(4 items)
 
CPUMotherboardGraphicsRAM
Intel Core i5-3570K Asus P8Z77-I Deluxe HD6450 Flex Crucial 16GB (2x 8GB) Ballistix Elite 
Hard DriveHard DriveOSMonitor
Samsung SSD 840 EVO 250GB TOSHIBA DT01ACA300 Arch Linux Dell UltraSharp U2713HM 
MonitorMonitorKeyboardPower
Dell U2410 Dell 2407WFP Cherry - Cherry Blue Switches (Unlabeled keys) Seasonic X-650 
CaseMouseAudioAudio
BitFenix Prodigy Black Logitech M570 Trackball Sennheiser HD595 Creative GigaWorks T20 
CPUMotherboardGraphicsRAM
Intel Core i5 3570K Zotac Z77-ITX WiFi EVGA 680 GTX Samsung 
Hard DriveHard DriveOSMonitor
Samsung 256GB 830 Samsung SpinPoint HD501LJ Windows 7 Dell U2410 
MonitorMonitorKeyboardCase
Dell 2407WFP Dell E248WFP Cherry Black (MX Blue Switches, Blank Keys) Silverstone Sugi SG08B 
MouseAudioAudio
Logitech Trackman Logitech Z-5500 Sennheiser HD595s 
CPUMotherboardRAMHard Drive
AMD Athlon II X2 240e Asus M5A78L-M/USB3 Crucial 8GB (2x4GB) DDR3 1600Mhz Ballistix Sport 1.5TB Hard Drives 
  hide details  
Reply
post #25 of 31
Ruby on Rails (RoR) has rapidly become my favorite. Just like any other framework there are things some people don't like, but it's open source and cross-platform.
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
post #26 of 31
Quote:
Originally Posted by wolf_08 View Post
Try Freebsd. I heard it has the best uptimes.
My Debian Etch r1 server has uptime ~ 30 days.
After 30 days my Maxtor HDD overheats and some find processes become zombies. And the server CPU is 50% utilized all the time. Hosts 10 sites, and plays 6 internet radio stations.

Quote:
Originally Posted by lattyware View Post
I'm sorry, but I hate .net, it's just not a nice platform. I think it really does depend on the developer. At the end of the day, a LAMP server (Linux, Apache, mySQL, PHP) is a more common setup, it's cheaper, and Linux really is a better server platform (again, some people dispute it, but most people would agree with me here).
LAMP is like *Ubuntu - too user friendly to be server.
You know.. servers should not be easy to maintain, because there will be no work for the server administrators.

Quote:
Originally Posted by BFRD View Post
I think your self-confessed bias is at play here. I use both linux and windows servers. .NET may have some flaws, but it is a very nice platform. Applications can be built very quickly leveraging the framework to handle most of the load. Web applications can be prototyped in desktop applications using classes and then simply copy the class over to a website, write a quick wrapper and you are done. I love my linux server for what it does, but I have to develop something, it can be done quicker in .net than php. Granted that I am a little rusty with php, it isn't completely foriegn; but not as quick to develop with.
As of my experience, I'm not very pleased with Windows servers...
Moreover my brother told me about a Windows 2003 server that started to kill its own services. The reason for that is when Windows opens a connection it usually starts from 1024 and increments by 1. When it reaches 65535 it goes back to 1, and increments again. When it reaches 21 it kills the FTP server, when it reaches 80 kills the web server

About the programming in PHP. I would say that it is very easy to learn, but to be a good PHP developer you have to develop yourself. Knowing the syntax and common constructions that are similar to C can help you in the learning, but they actually draw you back. The power of PHP is the integrated(internal) functions and the classes (OOP). If you write the algorithm like in C you lose time in writing, you write a lot of code, which later is hard to manage.
Zend Framework is something I'd try soon, it seems It is the answer to .NET.
Ferberite
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz Lenovo Thinkpad Edge E520 AMD Radeon HD 6630M 6GB DDR3 @ 1333MHz  
Hard DriveHard DriveOSOS
Samsung 850EVO HITACHI HTS727550A9E364 7.2krpm Debian 7.0 Win7 
OSMonitorMonitorKeyboard
Win8 15.6 Zoll 16:9, 1366x768 Pixel, AUO23EC, spiege... 24" Dell U2412M, 1920x1200 Integrated + External 
PowerCase
20V, 4.5A Lenovo Thinkpad Edge 
  hide details  
Reply
Ferberite
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz Lenovo Thinkpad Edge E520 AMD Radeon HD 6630M 6GB DDR3 @ 1333MHz  
Hard DriveHard DriveOSOS
Samsung 850EVO HITACHI HTS727550A9E364 7.2krpm Debian 7.0 Win7 
OSMonitorMonitorKeyboard
Win8 15.6 Zoll 16:9, 1366x768 Pixel, AUO23EC, spiege... 24" Dell U2412M, 1920x1200 Integrated + External 
PowerCase
20V, 4.5A Lenovo Thinkpad Edge 
  hide details  
Reply
post #27 of 31
Quote:
Originally Posted by metala View Post
The power of PHP is the integrated(internal) functions and the classes (OOP). If you write the algorithm like in C you lose time in writing, you write a lot of code, which later is hard to manage.
Zend Framework is something I'd try soon, it seems It is the answer to .NET.
Hehe... I think you are confused. You would never write C on a Windows server, you might write C# or C++, but that is completely different. In fact, the power of .Net is the functions and classes which are likely the most advanced in any web scripting language (yes, I have spent 4 years in php).
post #28 of 31
Quote:
Originally Posted by stupid View Post
Hehe... I think you are confused. You would never write C on a Windows server, you might write C# or C++, but that is completely different. In fact, the power of .Net is the functions and classes which are likely the most advanced in any web scripting language (yes, I have spent 4 years in php).
You totally misinterpreted what he was saying, and what you said was wrong in places too.
Shinobu
(16 items)
 
Nodoka
(16 items)
 
Index
(4 items)
 
CPUMotherboardGraphicsRAM
Intel Core i5-3570K Asus P8Z77-I Deluxe HD6450 Flex Crucial 16GB (2x 8GB) Ballistix Elite 
Hard DriveHard DriveOSMonitor
Samsung SSD 840 EVO 250GB TOSHIBA DT01ACA300 Arch Linux Dell UltraSharp U2713HM 
MonitorMonitorKeyboardPower
Dell U2410 Dell 2407WFP Cherry - Cherry Blue Switches (Unlabeled keys) Seasonic X-650 
CaseMouseAudioAudio
BitFenix Prodigy Black Logitech M570 Trackball Sennheiser HD595 Creative GigaWorks T20 
CPUMotherboardGraphicsRAM
Intel Core i5 3570K Zotac Z77-ITX WiFi EVGA 680 GTX Samsung 
Hard DriveHard DriveOSMonitor
Samsung 256GB 830 Samsung SpinPoint HD501LJ Windows 7 Dell U2410 
MonitorMonitorKeyboardCase
Dell 2407WFP Dell E248WFP Cherry Black (MX Blue Switches, Blank Keys) Silverstone Sugi SG08B 
MouseAudioAudio
Logitech Trackman Logitech Z-5500 Sennheiser HD595s 
CPUMotherboardRAMHard Drive
AMD Athlon II X2 240e Asus M5A78L-M/USB3 Crucial 8GB (2x4GB) DDR3 1600Mhz Ballistix Sport 1.5TB Hard Drives 
  hide details  
Reply
Shinobu
(16 items)
 
Nodoka
(16 items)
 
Index
(4 items)
 
CPUMotherboardGraphicsRAM
Intel Core i5-3570K Asus P8Z77-I Deluxe HD6450 Flex Crucial 16GB (2x 8GB) Ballistix Elite 
Hard DriveHard DriveOSMonitor
Samsung SSD 840 EVO 250GB TOSHIBA DT01ACA300 Arch Linux Dell UltraSharp U2713HM 
MonitorMonitorKeyboardPower
Dell U2410 Dell 2407WFP Cherry - Cherry Blue Switches (Unlabeled keys) Seasonic X-650 
CaseMouseAudioAudio
BitFenix Prodigy Black Logitech M570 Trackball Sennheiser HD595 Creative GigaWorks T20 
CPUMotherboardGraphicsRAM
Intel Core i5 3570K Zotac Z77-ITX WiFi EVGA 680 GTX Samsung 
Hard DriveHard DriveOSMonitor
Samsung 256GB 830 Samsung SpinPoint HD501LJ Windows 7 Dell U2410 
MonitorMonitorKeyboardCase
Dell 2407WFP Dell E248WFP Cherry Black (MX Blue Switches, Blank Keys) Silverstone Sugi SG08B 
MouseAudioAudio
Logitech Trackman Logitech Z-5500 Sennheiser HD595s 
CPUMotherboardRAMHard Drive
AMD Athlon II X2 240e Asus M5A78L-M/USB3 Crucial 8GB (2x4GB) DDR3 1600Mhz Ballistix Sport 1.5TB Hard Drives 
  hide details  
Reply
post #29 of 31
Quote:
Originally Posted by lattyware View Post
You totally misinterpreted what he was saying, and what you said was wrong in places too.
Please explain.
post #30 of 31
Quote:
Originally Posted by stupid View Post
Please explain.
Quote:
If you write the algorithm like in C you lose time in writing
The word like has very important meaning in the whole sentence.

The idea is
C like PHP code
Code:

for ($i = count($array); $i>=0; $i--){
$array_new[] = $array[$i];
}
$array = $array_new; 
How it should be
Code:

$array = array_reverse($array); 

The result: the C like example cannot work with associative arrays, but both of them have one and the same result.
The difference: less code, more readable, less CPU time for executing the code.
In PHP you don't really need to write the algorithm on your own, you just have to use the functions made for that. There are many functions integrated classes and other things that make you programming better, faster, and more readable.
Edited by metala - 6/12/08 at 11:35am
Ferberite
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz Lenovo Thinkpad Edge E520 AMD Radeon HD 6630M 6GB DDR3 @ 1333MHz  
Hard DriveHard DriveOSOS
Samsung 850EVO HITACHI HTS727550A9E364 7.2krpm Debian 7.0 Win7 
OSMonitorMonitorKeyboard
Win8 15.6 Zoll 16:9, 1366x768 Pixel, AUO23EC, spiege... 24" Dell U2412M, 1920x1200 Integrated + External 
PowerCase
20V, 4.5A Lenovo Thinkpad Edge 
  hide details  
Reply
Ferberite
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz Lenovo Thinkpad Edge E520 AMD Radeon HD 6630M 6GB DDR3 @ 1333MHz  
Hard DriveHard DriveOSOS
Samsung 850EVO HITACHI HTS727550A9E364 7.2krpm Debian 7.0 Win7 
OSMonitorMonitorKeyboard
Win8 15.6 Zoll 16:9, 1366x768 Pixel, AUO23EC, spiege... 24" Dell U2412M, 1920x1200 Integrated + External 
PowerCase
20V, 4.5A Lenovo Thinkpad Edge 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › XP or linux? file server/website