473,657 Members | 2,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP versus Mason

I am currently evaluating what language I should use to create a web
interface to some of our databases. I am purely in the fact finding
stage at this point, having no website nor database set up yet. This
is sort of a new area for me, so I am looking for some advice.

Part of our organization has Cold Fusion running on its web server.
It would really be no problem for me to build an application there for
some of the "public" verisions of the data. However, much of the data
is very restricted, and will have to to reside on a Linux server that
only myself and only a few other people have access to. That is a
fairly bare bones system, and we will not be able to spring a couple
of grand to have Cold Fusion running there. I am not overly
disappointed, as I am a little wary of proprietary languages anyway.

That leaves me to find a good, cheap, way to do things. Most likely
the database will be set up with postgresql. I was initially leaning
toward PHP as the language for the web application. We have Apache
web server running on Linux with PHP included. However, I found out
that our IT folks have actually disabled PHP and want me to use
something called Mason.

Questions that come to mind are:
1) Why disable PHP? I should be asking the admins this, but I would
like to at least understand the issues before I talk to them. We are
ultra paranoid about IT security here. Is there something about PHP
that makes them nervous? Is Mason better?
2) Do a lot of people actually use Mason? Are there any strengths or
weaknesses versus PHP?
3) Any thoughts on Cold Fusion here? Since we already have it, should
I try to make the most of it?
Jul 17 '05 #1
4 2427
Have you take a look at Ruby? ( http://www.ruby-lang.org )
Jul 17 '05 #2

"Preslopsky " <pr********@frb .gov> wrote in message
news:3f******** *************** ***@posting.goo gle.com...
I am currently evaluating what language I should use to create a web
interface to some of our databases. I am purely in the fact finding
stage at this point, having no website nor database set up yet. This
is sort of a new area for me, so I am looking for some advice.

Part of our organization has Cold Fusion running on its web server.
It would really be no problem for me to build an application there for
some of the "public" verisions of the data. However, much of the data
is very restricted, and will have to to reside on a Linux server that
only myself and only a few other people have access to. That is a
fairly bare bones system, and we will not be able to spring a couple
of grand to have Cold Fusion running there. I am not overly
disappointed, as I am a little wary of proprietary languages anyway.

That leaves me to find a good, cheap, way to do things. Most likely
the database will be set up with postgresql. I was initially leaning
toward PHP as the language for the web application. We have Apache
web server running on Linux with PHP included. However, I found out
that our IT folks have actually disabled PHP and want me to use
something called Mason.

Questions that come to mind are:
1) Why disable PHP?
Probably because they do not know what it is. If they had any knowledge of
it they would not be afraid. They have probably read somewhere that "PHP is
full of bugs and is insecure" but that information is wildly out of date and
innaccurate.
I should be asking the admins this, but I would
like to at least understand the issues before I talk to them. We are
ultra paranoid about IT security here. Is there something about PHP
that makes them nervous?
PHP is no more insecure than any other language - it just depends on the
skill of the programmer. It is possible for a bad programmer to screw up in
any language you care to mention. There are numerous resources on the web
which highlight the areas you should look out for, therefore writing a
secure application should not be a problem.
Is Mason better?
MASON is based on PERL which is a general-purpose scripting language which
had web capabilities bolted on afterwards. On the other hand PHP was
specifically designed for the web. You can write PHP code to achieve things
more quickly than you can write Perl code. Check out the various articles on
the subject from the links at
http://www.google.com/search?hl=en&l...RL&btnG=Search
2) Do a lot of people actually use Mason? Are there any strengths or
weaknesses versus PHP?
Details on MASON can be found at http://www.masonhq.com/.
3) Any thoughts on Cold Fusion here? Since we already have it, should
I try to make the most of it?


If you already have knowledge of Coldfusion then why not? But if it is going
to cost a couple of grand then that could be a sticking point, especially
when you consider that PHP is free.

Just my two pence worth.

--
Tony Marston

http://www.tonymarston.net

Jul 17 '05 #3
"Tony Marston" <to**@NOSPAM.de mon.co.uk> wrote in message
news:c9******** ***********@new s.demon.co.uk.. .

"Preslopsky " <pr********@frb .gov> wrote in message
news:3f******** *************** ***@posting.goo gle.com...

<long snip>
2) Do a lot of people actually use Mason? Are there any strengths or
weaknesses versus PHP?


Details on MASON can be found at http://www.masonhq.com/.


I agree with Tony and add, in response to the above question, that in 25
years as a software developer, this thread is the first time I have ever
heard of a language called Mason or MASON. Maybe I should get out more
<grin>, but it certainly is not a well-known or widely used language in my
experience.

Just my $0.02
Cheers,
Doug

--
Remove the blots from my address to reply
Jul 17 '05 #4
On 2004-05-28, Ruby Tuesdays <No************ **********@yaho o.com> wrote:
Have you take a look at Ruby? ( http://www.ruby-lang.org )


As far as web development is concerned Ruby is still lacking some grounds
compared to e.g. PHP. No need to flame me now, I know of CGIKIT and the like.

;-)

Bye,
phil
--
Please send replys (not followups) to the address set in Reply-To.
Philipp Kern - PK2186-RIPE - http://www.philkern.de
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

81
5151
by: sinister | last post by:
I wanted to spiff up my overly spartan homepage, and started using some CSS templates I found on a couple of weblogs. It looks fine in my browser (IE 6.0), but it doesn't print right. I tested the blogs, and one definitely didn't print right. Surveying the web, my impression is that CSS is very unreliable, because even updated browsers fail to implement the standards correctly. So should one just avoid CSS? Or is it OK if used...
9
4510
by: Dieter Vanderelst | last post by:
Dear all, I'm currently comparing Python versus Perl to use in a project that involved a lot of text processing. I'm trying to determine what the most efficient language would be for our purposes. I have to admit that, although I'm very familiar with Python, I'm complete Perl noob (and I hope to stay one) which is reflected in my questions. I know that the web offers a lot of resources on Python/Perl differences. But I couldn't find a...
33
5543
by: Joshua D. Drake | last post by:
Hello, I think the below just about says it all: http://www.commandprompt.com/images/mammoth_versus_dolphin_500.jpg Sincerely, Joshua Drake
2
6729
by: Andrew Robinson | last post by:
I need to create a shared static field for use within a number of different classes. Which one should I be using or are they all really the same thing? public class Widget { private Widget() {} public static string DataField = string.Empty; } versus
2
4176
by: Jon Lapham | last post by:
I have a table that stores TEXT information. I need query this table to find *exact* matches to the TEXT... no regular expressions, no LIKE queries, etc. The TEXT could be from 1 to 10000+ characters in length, quite variable. If it matters, the TEXT may contain UNICODE characters... Example: CREATE TABLE a (id SERIAL, thetext TEXT); SELECT id FROM a WHERE thetext='Some other text'; One way I thought to optimize this process would...
135
7445
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about which is better. It has become what's known as “religious war” — a heated fight over trivia. In this essay, i like to explain what is the situation behind it, and which is proper.
3
1847
by: rellaboyina | last post by:
Hi All, I want to test the Mason components and perl Modules using the modules available in Perl. I have already gone through the modules like Test::Harness, Test::Simple, Test::More, HTML::Mason::Tests etc. so that I can found something helpful to me. But after going through all of them I came to know that these are not useful to test the UI components. As I am involved in testing the UI components, can anybody suggest me the way that I...
4
8338
by: aj | last post by:
DB2 8.2 LUW FP14 Is there any real difference between select blahblahblah... where blah IN (select blah......) versus select blahblahblah... where blah = ANY (select blah.....) versus select blahblahblah... where exists (select blah.....) Is one more ANSI than another? Which is most portable?
1
2908
rajiv07
by: rajiv07 | last post by:
Hi to all, I am running perl on windows and I want to know how do i install Mason, which is used for embedding perl in html.Also how do i run these files. Please help on this topic. Thanks in Advance. Regards
0
8403
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8316
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8509
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7345
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6174
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5636
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1730
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.