SitePoint Sponsor |
|
User Tag List
Results 26 to 50 of 148
-
Sep 7, 2002, 03:19 #26
- Join Date
- Sep 2001
- Location
- UK
- Posts
- 24
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by voostind
- A couple of knowledgable and/or experienced people should run the project.
(Do you really want 'sequences' in PEAR DB? Short answer: NO!)
- Those responsible for the library (the guys/women I just mentioned) must provide a guideline of what code should look like. I don't mean that in the sense of "Use tabs instead of spaces" or something like that. I mean it more like this: "If a function/method returns an object, it should always be of the same class.". Those guidelines force a programmer into thinking about what he's coding much better.
I understand what you mean though - there are more important standards that can be set than how the code should look
[b]So the method shouldn't be there. If an application needs something like 'fetchOne', let the application programmer put it in his/her own code.[B]
Oh and a small point about all of you here: you are typically NOT the 'awful coders' I'm talked about in my previous post. Reason: your being here shows that you are aware of the difficulties of programming, and of the eagerness to learn.
-
Sep 7, 2002, 03:40 #27
- Join Date
- Sep 2002
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
To me the whole .NET thing is a bit of a religious crusade - it comes down to whether you want to support Microsoft or the opposition. Short-term it's usually best to go with Microsoft - they always make sure of that. But once Microsoft have eliminated the opposition, then they'll use their monopoly position to make you pay.
-
Sep 7, 2002, 03:59 #28
- Join Date
- Oct 2001
- Posts
- 592
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
And these people shouldn't have personality/ego problems. ... Diving off-topic, but sometimes people forget that personality can count for as much as skill - if the lead can't get on with the developers then nothing will go right.
I don't know Stig too well either, so I won't say he is perfect for the job or no. I do think new additions are approved to quickly. I remember seeing on the PEAR mailing list a single programmer who needed some feature specific for his work, and Stig approved to put it in PEAR. There were too few arguments, and a wrong decision was the result.
[On sequences] How should they be handled?
[On coding guidelines] I understand what you mean though - there are more important standards that can be set than how the code should look.
I feel taht it's better to have these useful tools distributed with the code to prevent everyone from having to write their own, but I agree with you that they shouldn't be in the main library.
Of course I think programmers shouldn't have to write the same code over and over again, but a decision to place such code in the library should be made after considering (at least) these three points:
- Does it really simplify things?
- If the code wasn't in the library, would programmers really need to write lots of code?
- Will each and every application want to handle the simplification in the exact same way?
In most cases, the decision will turn out to be a negative one. On the other hand, I do agree that it can be a good idea to place such code at a higher level in the library; like a helper class.
Vincent
-
Sep 7, 2002, 14:39 #29
code standards
Do you not feel that coding standards are good then? I like them as it means that I can easily read new code - pull a random class from PHPClasses and try reading it straight off and I'd have problems. What? no whitespace in this file???hpcode command
Michael Kimsal
=============================
groovymag.com - for groovy/grails developers
jsmag.com - for javascript developers
-
Sep 9, 2002, 01:47 #30
- Join Date
- Nov 2000
- Location
- Switzerland
- Posts
- 2,479
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Just to kick this half of the debate back into life, what no ones really talking about here is .NET vs Java.
Found an excellent article here: http://www.fawcette.com/dotnetmag/20...umns/strategy/ comparing the two.
Some highlights;
Java is top down technology
Java technology tends to take center stage when companies address technology needs in "big" strategic terms such as best-of-breed vendor selection, long-term architectural compliance, legacy extension, and interoperability.
Alternatively, smaller enterprises and small independent groups in larger enterprises tend to lean more strongly toward Microsoft development technologies as their focal points. These groups are better able to consolidate their data centers around a single platform and are consequently better able to commit to Microsoft's technology exclusively
This will have a limited appeal to developers with an existing background and expertise in Java development. At worst, J# will cloud and confuse the value of Microsoft's own C# language and at best will serve as a intermediary step along the road to C# for the last half dozen developers hidden somewhere on a deserted island who still use Visual J++.
And finally...
Not to mention the fringe factor that believes Linux and PHP will dominate the world, insisting that we all bow down to the great penguin.
-
Sep 9, 2002, 02:02 #31
- Join Date
- Feb 2001
- Posts
- 302
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
J# does some to be a waste of space, C# has clearly taken a lot from java and it's similarities would make the transition from Java to C# quite painless, which does make you wonder why they even bothered with J#.
-
Sep 9, 2002, 02:08 #32
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Yes, I too wonder what the hell J# is for. C# is so close to Java anyway. Java does have a lot of edge over .NET, especially since Java has enoumous credibility, if-it-aint-broke-dont-fix-it and existing cross-platform support.
.NET has got the multi-language thing going for it, though, and the fact that it's MUCH faster than Java.
But frankly, if you have an existing Java solution that works well, there really isn't any reason to switch. Hell, it doesn't matter if it's wirtten in friggin' BASIC if it works well.Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Sep 12, 2002, 12:57 #33
- Join Date
- Sep 2002
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Everything has its place
As a Cold Fusion, PHP, DOT NET, Oracle Forms developer, I've noticed a couple of things.
One, fit the technology to the project, not the project to the technology. DOT NET/C#/ASP is great for some things; others, you are better with a CF/PHP approach.
Two, regardless of the arguments you won't convince anyone. People who have chosen 'sides' are looking for vindication, not education. If you present arguments in favor one way or another, people will either claim you got it wrong or rub it in that they were right. Ultimately, it doesn't matter; what matters is the skill of the developer. A developer with good logic skills and the right attitude can program in Java, turn around and use those skills in C#, layout an application in CF/PHP. Knowing how to program is what's important, not the language.
But that's just my opinion; I could be wrong.
Chris Hansen
tchansen@xmission.com
-
Sep 12, 2002, 13:03 #34
- Join Date
- Jun 2001
- Location
- Toronto, Canada
- Posts
- 9,123
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
I'd have to argue with the "talking does nothing" statement. I think Harry, Mattias and myself can all say we've been educated by these threads.
Heck, I even did my first PHP site last week and didn't once cringe.
-
Sep 12, 2002, 13:10 #35
- Join Date
- Sep 2002
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by Jeremy W.
I'd have to argue with the "talking does nothing" statement. I think Harry, Mattias and myself can all say we've been educated by these threads.
Heck, I even did my first PHP site last week and didn't once cringe.
I'm used to presenting arguments or presentations to people (developers, designers, implementers) and then having them go, "So? I like writing in BASIC."
I'm all for education - I'm a Broadcast Journalism Graduate turned application developer/designer.
Chris Hansen
tchansen@xmission.com
-
Sep 12, 2002, 13:24 #36
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Re: Everything has its place
Originally posted by tchansen
As a Cold Fusion, PHP, DOT NET, Oracle Forms developer, I've noticed a couple of things.
One, fit the technology to the project, not the project to the technology. DOT NET/C#/ASP is great for some things; others, you are better with a CF/PHP approach.
Two, regardless of the arguments you won't convince anyone. People who have chosen 'sides' are looking for vindication, not education. If you present arguments in favor one way or another, people will either claim you got it wrong or rub it in that they were right. Ultimately, it doesn't matter; what matters is the skill of the developer. A developer with good logic skills and the right attitude can program in Java, turn around and use those skills in C#, layout an application in CF/PHP. Knowing how to program is what's important, not the language.
But that's just my opinion; I could be wrong.
Chris Hansen
tchansen@xmission.comMattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Sep 12, 2002, 13:27 #37
- Join Date
- Sep 2002
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Re: Re: Everything has its place
Originally posted by M. Johansson
I would like to officially declare Chris Hansen the winner in the ASP vs. PHP debate, if that's okay. Thank god for this post - I can now be productive again.
-
Sep 12, 2002, 13:39 #38
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Re: Re: Re: Everything has its place
Originally posted by tchansen
Hey... are you making fun of me? Teach me to comment, eh? <smile>Seriously, it was not meant as an insult or anything - you really are right.
Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Sep 12, 2002, 13:41 #39
- Join Date
- Jun 2001
- Location
- Toronto, Canada
- Posts
- 9,123
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
You know, there are times when the anonymous edit powers of Advisors is very tempting...
-
Sep 12, 2002, 13:45 #40
- Join Date
- Mar 2001
- Location
- London | UK
- Posts
- 1,140
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by Jeremy W.
You know, there are times when the anonymous edit powers of Advisors is very tempting...
/starts member uprising...*
*does that sound dodgy or what!!!
-
Sep 12, 2002, 13:45 #41
- Join Date
- Sep 2002
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Re: Re: Re: Re: Everything has its place
Originally posted by M. Johansson
You DID spoil a perfectly good useless argument, after all.Seriously, it was not meant as an insult or anything - you really are right.
To be perfectly honest about it, I didn't realize you were having an argument/debate. I thought I was commenting on the article and, as it was my first time commenting, it took me directly to the Post Reply page after registering. Had I read all of you all's previous posts, I wouldn't have tried to muck it up.
Honest.
Chris Hansen
tchansen@xmission.com
-
Sep 12, 2002, 13:48 #42
- Join Date
- Jun 2001
- Location
- Toronto, Canada
- Posts
- 9,123
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
We forgive you. Btw, stay awhile, we are trying to find as many people who can put together a decent sentence and point as possible
-
Sep 12, 2002, 13:49 #43
- Join Date
- Mar 2001
- Location
- London | UK
- Posts
- 1,140
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Re: Re: Re: Re: Re: Everything has its place
Originally posted by tchansen
Oh this is ARGUMENTS! I was looking for ABUSE... must be the next door. (with apologies to Monty Python)
Originally posted by tchansen
To be perfectly honest about it, I didn't realize you were having an argument/debate. I thought I was commenting on the article and, as it was my first time commenting, it took me directly to the Post Reply page after registering. Had I read all of you all's previous posts, I wouldn't have tried to muck it up.
-
Sep 12, 2002, 13:49 #44
- Join Date
- Mar 2001
- Location
- London | UK
- Posts
- 1,140
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by Jeremy W.
We forgive you. Btw, stay awhile, we are trying to find as many people who can put together a decent sentence and point as possible
-
Sep 12, 2002, 14:09 #45
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by Jeremy W.
You know, there are times when the anonymous edit powers of Advisors is very tempting...Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Sep 12, 2002, 20:06 #46
- Join Date
- Jan 2001
- Location
- buried in the database shell (Washington, DC)
- Posts
- 1,107
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You may never convince the other guy, but it's often worthwhile to keep arguing for the effect it has on bystanders, especially his allies.
Matt - Sybase DBA / PHP fanatic
Sybase/MySQL/Oracle | I don't like MySQL
Download Sybase | DBForums.com - for all your RDBMS talk
-
Sep 12, 2002, 22:59 #47
- Join Date
- Nov 2000
- Location
- Switzerland
- Posts
- 2,479
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
OK - let me thrust some pace back into this debate. Here's an interesting little ditty: http://news.com.com/2100-1001-957586.html
One of Microsoft's top executives says that his company is frustrated by the slow adoption of consumer-oriented Web services, once heralded as the future of online commerce.
[list=a][*]People don't understand web services[*]SOAP is insanely complicated[*]There's no money around right now to spend on them[*]SOAP "ties" you to UDDI - registries of web services owned and run by companies like IBM and Microsoft - people don't want to hand these guys so much power[*]SOAP in fundamentally flawed and only theREST approach has worked out that XML services must be available via Google rather than a UDDI registry.[*]or... because PHP rules the Internet and when we give SOAP permission to be successful, successful it will be[/list=a]
-
Sep 12, 2002, 23:18 #48
- Join Date
- Sep 2002
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hello everyone. I'm new here, and I've read all the replies to this thread that I just can't help to speak my mind out.
I've been developing all sorts of stuff using PHP for almost 3 years now. Through those years, never did PHP let me down. Whatever needs to be done there's a way to solve in PHP, although admittedly sometimes there'll be tradeoffs or tedious operations. By the way, to clarify things, when I meant all sorts of stuff, I'm not only referring to websites or e-business sites but to stuff like controllers, ad servers, security systems, etc.
Now to those who took side to language.NET who have at least intermediate level skills using PHP, give me one VALID reason why language.NET is better than PHP. I don't know anything about .NET besides what I hear or read, which is impressive may I add, BUT have any of you stress-tested it? Based from experience, good things come with tradeoffs. I've tried servlets before and my server (just an old PC) crashed with the same process which works fine with PHP.
I'm not saying that PHP is better than language.NET, what I'm saying is:
- PHP have been around for years and have been used for small and large scale systems.
- PHP is FREE! I've read somewhere that to develop in PHP you'd be spending some hundreds of dollars compared to none using .NET. HA! That guy's dreaming! You can develop in PHP without purchasing a single software. In fact you can publish your PHP in the web for free.
- Most important of all. PHP is easy to understand and use. Nothing can top that.
-
Sep 13, 2002, 01:24 #49
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
You are perfectly right that any good thing tends to come with tradeoffs, and so in this case. The tradeoffs with .NET, is that you have to for it. I’m above intermediate level in PHP, and I’d say the tradeoff is definetly worth it, for the reasons I’ve mentioned in my article.
Originally posted by israel_sioson
- PHP have been around for years and have been used for small and large scale systems.
- PHP is FREE! I've read somewhere that to develop in PHP you'd be spending some hundreds of dollars compared to none using .NET. HA! That guy's dreaming! You can develop in PHP without purchasing a single software. In fact you can publish your PHP in the web for free.
- Most important of all. PHP is easy to understand and use. Nothing can top that.
I still claim that PHP is best suited for small scale applications, like relatively simple web sites (that is what it was designed for, after all) and that ASP.NET is better suited for large-scale stuff.
And israel, about servlets... I'm not at all a Java Developer, nor do I claim to know squat about it, but every single time I've ever tried to do anything with Java on my computer, be it installing the JRE to run Editize or Install Tomcat on Apache, it produced some form of error.Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Sep 13, 2002, 02:10 #50
- Join Date
- Oct 2001
- Posts
- 592
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Since I can't deny .NET's technology is better than PHP's, I'm now looking into another one: JSP. I will not use .NET, nor will I tell my customers to do so. The technology may be good, but as long as Microsoft doesn't change its licensing policy, I refuse to work with it (as many other should but don't because they don't know the licensing policies). I'm not going to 'sell my soul to the devil'.
Java is much more my language than PHP (I'm an OO guy), so I think JSP is going to suit me just fine. Expect the 'Top 10 Reasons Why JSP Is Better Than ASP' in a few weeks...
Vincent
Bookmarks