SitePoint Sponsor |
|
User Tag List
Results 51 to 75 of 187
Thread: Enterprise PHP
-
Jul 27, 2003, 12:13 #51
- Join Date
- May 2001
- Location
- :noitacoL
- Posts
- 1,859
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Macromedia and BlueDragon do almost the same thing for CFML and Java/.Net...
I can see how it might make sense. Say you have a bunch of designer-oriented people who don't know Java, yet you want to deploy your intranet on J2EE. Do you use your expensive Java developers to do it when they're supposed to be helping interface your financials system to your website? Or do you give it to your web developers who don't know a lot of Java but are well up in CFML/PHP?
Or say you want to take advantage of the fact that it's much quicker to write a web application in CFML than in Java (or ASP/ASP.Net/PHP for that matter)
Yes it is a dumb idea from the point of view of duplicating effort. But you're not always going to be doing that. Real world example - we are close to completing a Java-based extranet which has so far taken much longer than it had any right to, mainly because of the overhead associated with developing in Java (more skilled developers, more complex environment etc). If we'd done it in a high level language like CFML or PHP, it would have been finished weeks ago. Let the Java developers worry about the business logic, and the CFML developers worry about how to drop that out onto a web page.
Of course we didn't do that, but that's another story...
-
Jul 27, 2003, 13:08 #52
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Good thinking, there!
Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Jul 27, 2003, 13:33 #53
- Join Date
- Jun 2001
- Location
- Toronto, Canada
- Posts
- 9,123
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Fair enough shaun
Still, I wouldn't call it the future of PHP
-
Jul 28, 2003, 01:50 #54
- Join Date
- Oct 2002
- Location
- Edinburgh, UK
- Posts
- 1,743
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by hillsy
As for PHP vs. Java vs. NET. I think it's sensible to put up some framework for this kind of work and don't use "PHP mixed up with HTML" style of coding. I always put up my framework for nearly all project I work, except those that need some updating, in this case, I have to follow its standarts, even "PHP mixed up with HTML".
I don't know much about Java. But I assume that using .NET won't be overkill. Mainly because of its separating code from content by using datagrids, repaters and so on, and by using form validating controls.
-
Jul 28, 2003, 02:19 #55
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
I see the point of using PHP as a frontend of enterprise applications, but I don't really see any point in using it as a frontend in instead of ASP.NEt, which is already an excellent and easy-to-use framework.
Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Jul 28, 2003, 03:19 #56
- Join Date
- Jun 2003
- Location
- Iowa, USA
- Posts
- 3,749
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by M. Johansson
Jason Sweat ZCE - jsweat_php@yahoo.com
Book: PHP Patterns
Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
Detestable (adjective): software that isn't testable.
-
Jul 28, 2003, 04:40 #57
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by sweatje
Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Jul 28, 2003, 05:11 #58
- Join Date
- Nov 2000
- Location
- Switzerland
- Posts
- 2,479
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If the question is "why use PHP as a front end to .NET / J2EE?" reckon there's two main issues.
First there's the ease of use factor. That may be arguable vs. .NET (for me it's a static vs. dynamic, IDE vs. text editor thing), but vs. JSP I think is pretty clear that PHP is easier to prototype / develop quickly with. That's the first reason why PHP might be a preferable choice.
Second and more important, within companies there's "aggregation" of business tier systems into web based front ends which often happens over a network. In other words the server you're running your .NET business app on may be Windows (inside the private corporate network) but the system which you deploy your web front end on is a seperate server (perhaps running Unix). You may have multiple "business tier" systems, some written with Java, other's .NET etc which need to give the appearance of being integrated to an end user.
What Zend is "selling" when it talks about integration with other component frameworks is that PHP makes an excellent choice for aggregating such systems; a presentation logic tier on top of the business systems.
Still you may not be convinced but where PHP has an edge in this area is that it's very easy to modify to cope with changes. I work in this sort of environment (and I suspect Jason up there does too). Alot of what you spend your time doing is keeping pace with changes that happened to one of the many business tier systems you're aggregating.
Typically someone makes some "API breaking" change at the business tier and your web front end stops doing what it's supposed to so the "fix" has to happen fast.
-
Jul 28, 2003, 05:50 #59
- Join Date
- Aug 2002
- Location
- Ottawa, Ontario, Canada
- Posts
- 214
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by neil100
Smarty, et al. are simply wrappers around what PHP already does. And as such they have never made sense to me. Everyone has opinions on this, and mine is that Smarty should never have made it into PEAR, and that the constant chatter about template engines for PHP diverts energy from making the language better. Any HTML developer that can learn the Smarty syntax can just as well learn some simple PHP syntax.
C'est la vie...
Cheers,
Keith.
-
Jul 28, 2003, 06:29 #60
- Join Date
- Jun 2003
- Location
- Iowa, USA
- Posts
- 3,749
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
My best arguments for using PHP in an enterprise environment were:
1) cross-platform (in a way that .NET is not)
2) easy to learn (in a way that Java is not, particularly if the developer has any C background)
3) allows for web, xml and database work within a Unix shell scripting environment
4) same language for Web development as Shell Scripting
...digs up an old email...edits to remove unknown acronyms...
Originally Posted by email to corporate infrastructure group
HTH
-
Jul 28, 2003, 06:37 #61
- Join Date
- Jun 2003
- Location
- Ljubljana, Slovenia
- Posts
- 83
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
why bother to make PHP enterprisable if it will take years to come even close to J2EE .. not to mention how long would it take to be real Enterprise voodoo kind of stuff ..
my oppinion is that .,. if you want real enterprise stuff going on .. move to java or .net (although I prefer Java).. if you want simple scripting langugae powerfull enought to make something out of it .. use PHP or ASP (I prefer PHP or JSP)..
why discovering hot water if we allready discovered it ?!?!?
bye
Armando
-
Jul 28, 2003, 06:41 #62
- Join Date
- Jul 1999
- Location
- Derbyshire, UK
- Posts
- 4,411
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
As has already been said, Enterprise is just a cover word for adding nanny like features (protected anyone?) to a language most of the time. Enterprise development depends 75-90% on the skill of the developer, not the tools used, although they obviously do play their part.
Karl Austin :: Profile :: KDA Web Services Ltd.
Business Web Hosting :: Managed Dedicated Hosting
Call 0800 542 9764 today and ask how we can help your business grow.
-
Jul 28, 2003, 06:41 #63
- Join Date
- May 2001
- Location
- :noitacoL
- Posts
- 1,859
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Mika
Anyway, the ColdFusion example was just that - an example. Another instance where it makes sense to deploy a high-level language (CFML) on top of a complex framework (J2EE). Seems to me this is where they are trying to take PHP with its Java integration.
As for PHP vs. Java vs. NET. I think it's sensible to put up some framework for this kind of work and don't use "PHP mixed up with HTML" style of coding.
PHP (and ColdFusion) are best at one thing - dynamic web page development. I like Harry's characterisations. Ease of use is much better than with Java. Maybe less so with regard to .Net. And the fact that your presentation layer can talk to all your disparate business logic layers, means you don't need to program your intranet in ASP, your extranet in ASP.Net but your website in JSP.
-
Jul 28, 2003, 07:10 #64
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Karl
When you are doing software development, you make mistakes. EVERY coder, no matter how good he/she is, spends the bulk of his time debugging. I think this talk like "pah, we don't need private members or IDE:s" is just mumbo-jumbo and has no connection to the real world. The truth is that things like encaspulation and IDE:s do cut down development time, no matter how good (and expensive!) your programmers and project managers are.Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Jul 28, 2003, 07:36 #65
- Join Date
- Jul 1999
- Location
- Derbyshire, UK
- Posts
- 4,411
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you have a style guide and it's drummed in to developers then you don't need private members etc. you can work round it quite easily in your style guide e.g. private members always start with _ for example.
Karl Austin :: Profile :: KDA Web Services Ltd.
Business Web Hosting :: Managed Dedicated Hosting
Call 0800 542 9764 today and ask how we can help your business grow.
-
Jul 28, 2003, 07:40 #66
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Karl
Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Jul 28, 2003, 08:05 #67
- Join Date
- Oct 2002
- Location
- Edinburgh, UK
- Posts
- 1,743
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Karl
Originally Posted by M. Johanssom
-
Jul 28, 2003, 09:41 #68
- Join Date
- Mar 2002
- Location
- Osnabrück
- Posts
- 1,003
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hello!
In my opinion having private fields (or member visibility in general) does not make a language more enterprise ready. The coding standards for PHP are used to say that due to the lack of all private fields all class members should be treated as private. Other languages (Java, C#) support this natively, yet it can be circumvented in both cases, In PHP accessing a field directly and in other languages simply using a different visibility.
I do like PHP because for what I want to do (putting some partly dynamic webpages online) it is the best choice since its simplicity and ease of use. It allows me to get something working online really quick. I don't know how it is done with .NET (C#) but Java looked a bit "intimidating" with these XML-config files.
An official body which provides accepted certification for PHP programmers could help to advance PHP in terms of "enterprise-readiness". If a programmer says that everyone can get a certification simply by parroting the relevant books, then I would as an employer ask him, why he did not get one if it so easy. If the programmer has additional practical experience, all the better. I do agree, that a certification / diploma is not an absolute indicator of the real programmer's quality but it can be an influencing factor.
Example: The company wants to hire a new programmer. Several programmers apply for the job, some with certifications, some without. The employer has to decide which programmer to hire.
The employer faces the problem that he does not know of the programmers' real qualities who apply for the position. The job seeker has an information advantage. So the employer can conduct interviews to "screen" the potential candidates and additionally look for signs which could signal that one programmer is better than another. The employee to-be on his part could "signal" the employer his qualification by providing certificates such as a degree / diploma or a certification by an official body (preferrably the language creator itself takes on this job or authorizes a third party to be in charge of this process.
I do not know if a dynamically or statically typed language is better suited for web application however a statically typed language has advantages when it comes to IDEs. For example: In a statically typed language any argument which is passed in to the function must be of a certain datatype. Therefore the IDE "knows" which methods can be called and some errors can be spotted at compile time.
Speaking from personal experience with Eclipse (the IDE), I would say that a good IDE does indeed increase the productivity. Code Completion, ease of use when creating new classes, features to help with the documentation and providing method bodies for abstract functions are some advantages that come to my mind. And having to do this in a normal texteditor can be a tedious task.
I have found this case study by Sun on ebay's switch to J2EE and besides the usual "marketing talk" I would be interested to know if others think that PHP could meet the requirements mentioned in the case study as well.
-
Jul 29, 2003, 03:49 #69
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Excellent post, Chris. Rep given.
Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Jul 30, 2003, 00:19 #70
- Join Date
- Oct 2002
- Location
- Edinburgh, UK
- Posts
- 1,743
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I think, language enterpriseness depends on the support of the big companies. And in this case, ASP.NET, Java have a great advantage over PHP. I know PHP is supported by Zend. But Zend is nothing comparing to Microsoft or Sun. Support of big companies mean a good certification base (I know, it was already mentioned here), IDEs and many solutions, such as various servers and so on.
-
Jul 30, 2003, 03:17 #71
- Join Date
- Jul 1999
- Location
- Derbyshire, UK
- Posts
- 4,411
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Wouldn't use Sun as a good example of good big company support for a language, they've certainly fumbled the ball many a time with Java, think the best suggestion I heard was that they give Java to IBM who seem to know how to handle it - But I get what you're saying, PHP does need to big $$$ or £££ behind it if it wants to get "noticed" in the enterprise arena.
Karl Austin :: Profile :: KDA Web Services Ltd.
Business Web Hosting :: Managed Dedicated Hosting
Call 0800 542 9764 today and ask how we can help your business grow.
-
Jul 30, 2003, 07:51 #72
- Join Date
- Jan 2003
- Posts
- 5,748
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
IBM ? Now there is a business to look at when you need to know something about Java and in particular XML.
They've got just about everything sewn up and they sure know what they're doing... If only I knew someone at IBM Greenock...
-
Jul 30, 2003, 09:05 #73
- Join Date
- Nov 2001
- Location
- Canada
- Posts
- 708
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I agree PHP needs some marketing done, until then some people may still shy away.
Microsoft spends millions advertising their .NET - you see it in all kinds of magazines but you never see "PHP" type ads.
Why would people buy bottled water when you can get it free in your own home? Because someone has brainwashed you into thinking their bottled water, probably from their own tap, is better
-
Jul 30, 2003, 09:11 #74
- Join Date
- Jan 2003
- Posts
- 5,748
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yer I've noticed that as well. That's globalisation for you as I see it IMO;
-
Jul 30, 2003, 09:28 #75
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by ramprage
Edit - I think it was greenpeace that declared bottled water a big problem of the modern world, in that it was a huge waste of resources in transport and packaging. And people paying for an unnecessary product.Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
Bookmarks