转载:使用第三方软件的痛苦经历

原创 2004年04月09日 17:22:00

The pain of using third party software

Ace of Spodes Bulky, slow, inefficient, the rest


By Andrew "Spode" Miller: 星期五 09 四月 2004, 07:52

 I HAVE MANY REASONS for doing all the PHP on my site instead of out-sourcing it, or using a pre-built “make a web site in 10 minutes and start blagging free kit” package like phpNuke. Partly, it is that most of these packages are bulky, slow, insecure, limiting, samey and inefficient - using far too much bandwidth and more CPU cycles than are really necessary. But mainly, by doing my own coding I take full control and also increase reliability. And everyone loves reliability.
What the bulk of this boils down to, is my lack of trust in things I haven’t made myself. Unless it is a very small, simple script that I can pick apart, understand and then verify, I won’t use it. If I understand everything about the coding, when something goes wrong, it’s a quick job to fix as I know exactly where everything is. I haven’t got to spend hours learning how the thing works before I can fix it. This increases reliability, and in the long run, productivity.

Recently, I let my guard down and installed a third party add-on to PhpBB that lets you display the latest threads anywhere on site. I stupidly did this at the same time as a few other modifications to my own coding. So when the server crashed, I didn’t really have a clue where to start. After a lot of fiddling and checking log files, I realised it was this 3rd party code. Once removed, the server ceased to randomly crash. A 20 minute coding session later, I had created the equivalent module, yet smaller, quicker and more customisable to my needs.

Some people think my mistrust is a little extreme. And in a lot of ways they are right, as one can’t be expected to do everything by themselves. But when I see the level of programming “skill” that many university students possess, coming out with degrees that qualify them in that area, it simply scares me.

Another area where third party add-ons tend to cause a head ache, is Linux server control panels. I use Plesk at the moment and they have done a fairly good job of it, but it can be very problematic. The issue resides more so in Linux than the scripting though. To get a lot of packages to work in a virtual host environment requires custom scripts, wrappers and unusual file locations to get it to work. A solution like this is all well and good, until you want to upgrade a package. Often this causes problems with the previous scripts and you have a broken server. Perhaps this is one reason a lot of servers end up with insecure software installed, as they think there is more risk in updating than there is in being hacked.

Annoyingly, especially for me, if something goes wrong, I can’t just get a local Linux expert to take a look. What you need, is a Plesk expert. It has taken me quite a while to learn how the system really ticks mainly from when things go wrong and I’ve had to spend literally days fixing it, and I wouldn’t call myself an expert.

The best system I have used, Is the Cobalt Raq. Because they control both the software and hardware, they can just release a package to be installed, knowing that everything will be in the right place. This makes updating just as easy as doing a Windows Update is now. This takes a lot of the head aches out of server administration.

If someone could create a decent Control Panel that wasn’t so make-shift, server admins would be able to keep more up to date, perhaps using a system like up2date, without the worry of things going wrong. Linux may be flexible, but it is also more problematic. μ

Andrew "Spode" Miller is editor of UK site Spode's Abode

http://www.theinquirer.net/?article=15249

 

使用Dojo的痛苦经历

2007年6月项目准备开始了,刚来到一个新的项目组,什么都是新的,除了我自己。 需要一个新的框架来开发项目,香港的同事决定使用Dojo,DWR, 我开始学习使用dojo,时间很短,但是我还是基本上熟...
  • zkn_CS_DN_2013
  • zkn_CS_DN_2013
  • 2013年12月02日 18:04
  • 465

KMP痛苦学习经历

PS: 要不是我刚才脑残把电源踢掉,现在这个博文估计已经写完····:(   KMP算法呢我就不介绍了,说说为什么学KMP,为了学AC自动机....   KMP算法的主要在于求next数组,大家可能对...
  • wang57389675
  • wang57389675
  • 2015年01月27日 12:17
  • 354

软件缺陷常见问题总结(软件测试入门速成篇)

常见问题一: 统一性不要在软件中使用中英文混合的提示,比如对于用户的操作提示,不要一会用“error”一会用“错误”;一会用“succeed”另一会用“成功”总之要统一。某局长使用心得:删除的时候提示...
  • JCY58
  • JCY58
  • 2016年07月17日 12:20
  • 9758

刚开始学习编程的迷茫、痛苦是必然的?!。

其实,学编程就是这样,刚开始肯定是要糊涂一段时间的。在学习软件编程之前,我们大概都学了十几年的语文、数学,但是忽然接触以前从来没见过、没听过、更没写过的编程语言,还真的是措手不及啊。       我...
  • HXCHXC2
  • HXCHXC2
  • 2013年05月05日 00:07
  • 686

用opencv使用大恒相机的痛苦经历

做毕业设计需要用到工业相机,之前的IDS需要还了,心想买个便宜点的(毕竟做完毕设就离开实验室了,太贵不好。。),挑了个国产的相机,大恒的DH-HV3151UC 从到货那天开始经历了整整一周的折磨(不...
  • a623406978
  • a623406978
  • 2017年04月14日 17:14
  • 2451

软件测试实习经历

2015.3.3~2015.3.27,我做软件测试整整4个星期。(其实是手机基本功能的测试。比如:给手机升完版本后,手机上查询到的版本号是否与服务器上的版本号一致,手机的Wifi、蓝牙在升完版本后是否...
  • u012724595
  • u012724595
  • 2015年04月02日 17:50
  • 1482

csdn如何转载别人的文章

csdn如何转载别人的文章
  • stonesing
  • stonesing
  • 2016年08月25日 17:07
  • 2082

配置cuda环境的痛苦经历

吐槽: 最近太坑爹,要配置一个服务器来验证算法,结果各种不顺~ Experience1:给ubuntu安装远程桌面(xrdp) 用windows的mstsc连接ubuntu需要先在ubuntu上安装...
  • Linoi
  • Linoi
  • 2014年08月17日 14:43
  • 2590

csdn如何转载别人的文章

转载地址:http://blog.csdn.net/jiangping_zhu/article/details/18044109 1、找到要转载的文章,用chrome浏览器打开,右键选择审查元...
  • dlhlSC
  • dlhlSC
  • 2016年08月19日 16:51
  • 5048

如何转载CSDN

转载于:http://blog.csdn.NET/jiangping_zhu/article/details/18044109 作者:包心菜加糯米饭 1、找到要转载的文章,用chrome浏览器打开,右...
  • qq_29034779
  • qq_29034779
  • 2017年01月15日 16:11
  • 187
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:转载:使用第三方软件的痛苦经历
举报原因:
原因补充:

(最多只允许输入30个字)