Delphi For PHP Released 155
Gramie2 writes "Codegear (now a subsidiary of Borland) has just released version 1.0 of Delphi for PHP, a RAD development environment (running on Windows) that produces standard PHP code. It features a large set of built-in components, including ones that use AJAX for database access; and Codegear is encouraging users to develop their own components. The framework, VCL for PHP, is open source, and documentation follows the PHP model. Initial database connectivity is for MySQL and Interbase (Codegear's commercial database that spawned the open-source Firebird), but more are promised."
Disambiguation (Score:5, Informative)
This article is about the IDE being used for PHP, so fans of Pascal syntax have nothing to get excited about.
Re: (Score:2)
Re:Does this IDE build upon the existing interpret (Score:3, Interesting)
I'll admit, I've written a function to take an array and make a dropdown box from it, but Delphi's VCL is going a bit far, I think.
Re: (Score:3, Informative)
It's largely based on the qooxdoo javascript library.
Check the demos here [qooxdoo.org] and here [qooxdoo.org].
Re: (Score:1)
Worst part, while I'm not sure if you can ever stop using Delphi for PHP and still be able to further develop your app, or become trapped in both the IDE and the Windows platform.
Re: (Score:3, Informative)
I think you are right about being trapped in it, though... The VCL, if nothing else, would trap you irrevocably. But then, they're treating it more like an IDE for different language, and being tied to a language is true for any language. Just like Ruby on Rails is treated differently than plain Ruby.
Re: (Score:2)
Borland has died after Borland Delphi 7 (Score:5, Interesting)
Two things made Borland wreck their scene: 1) losing their creative minds to Microsoft, specially Anders Hejlsberg [wikipedia.org], creator of nothing less than Turbo Pascal, Delphi and main architect of C#. 2) losing their focus (from useful RADs to expensive but totally good for nothing "Application Lifecycle Management" (whatever it is).
Had kept the focus and the creative minds, either
Re: (Score:2)
Re:Borland has died after Borland Delphi 7 (Score:4, Informative)
Re: (Score:2)
Which is why Microsoft did what they did. They have always done this to their competition, just add it to the long list.
rd
Re:Borland has died after Borland Delphi 7 (Score:4, Interesting)
My team has suffered from blistering crotch fires of agony trying to cope with C++ Builder's (5 & 6) linker woes. Rather than spending our valuable development time on important-for-our-customers product development issues, the very existence of our company became reliant upon working around our inability to even link our growing application.
It was a horrible mess, and one that Borland was useless in helping us to resolve because they were off working on new products that never saw the light of day.
Never *ever* again.
Re: (Score:3, Insightful)
Thank you, that's one to file away in the "useful phrases" department. I like it.
Re: (Score:2)
Oh, great (Score:3, Insightful)
Writing insecure web applications in less time. Thanks Borland! ;-)
Re: (Score:2)
So, your last knowledge of php was about version 3.0 ? And then you just skipped it and you still get the right to make these comments?
The alternatives to php are not any more secure than the current version, sorry about that.
Re: (Score:1)
Didn't you notice the smilie at the end? Go buy some humour...
Re: (Score:2)
Another desperate attempt. (Score:5, Insightful)
Delphi is dead. Nothing to see here. Move along.
Y
Re: (Score:3, Informative)
now serious: delphi is still the best tool for developing win32 apps and it is still widely used in europe.
Re: (Score:2)
Yours truly,
A disgruntled Delphi 8 purchaser.
Y
Re: (Score:2)
all these years and it's still my preferred instance of delphi.
Re: (Score:2)
Re: (Score:2)
Delphi is still a solution in search of a p
Re: (Score:2)
Compiler scoldings (Score:2)
If you are using Delphi to build ActiveX controls out of VCL controls, you get these stupid [Warning] TF32Ax_TLB.pas(2390): Method 'InitiateAction' hides virtual method of base type 'TControl' messages that I never figures off how
Re: (Score:2)
Re: (Score:2)
The files are D6_Upd2_Pro.exe, D6_RTL2_Pro.exe if you have the Professional version, some other name than Pro if you have the Personal Edition. I have seen sites referencing both the Pro a
Looks Nice! (Score:1)
Delphi for PHP looks to be very similar (I read the announcement, but have not tested the app yet), but also has a database browser! This is particularly valuable, and truly DOES speed up development.
I will have to blow the dust of my Windows box, and try this out.
Re: (Score:2)
Did they miss the point? (Score:2, Insightful)
If they offer tools for PHP and MySQL target servers run Linux, target developers run Linux, and they are missing again.
Re: (Score:2)
Parent not "insightful" MOD DOWN (Score:2)
Downloading the trial (Score:1)
(And yes, I have a whole bunch of other email addresses I could use. That's not the point.)
Let's hope you're evaluating REAL REAL fast (Score:4, Funny)
"Free, fully functional 1 day trial"
Right, 1 day.
Great.
Re: (Score:2)
Re: (Score:3, Informative)
PR is hard. Basically if the CEO's About page needs a photo but lacks one, which do you think is the better option, PR-wise:
1. Use the only photo of the CEO available, where he has his pants down.
2. Wait a bit and make/provide a better photo.
Unless they plan to assign a CodeGear
Re: (Score:2)
If you can't manage to put a file in a folder then I'm glad you aren't going to be developing applications that I might have to use one day!
Re: (Score:2)
I use Microsoft VPC with a Win2k image. Install SVN and connect to a repository on the network, set up a startup script to set the time system date to Jan 1st then save and backup the VHD. Adjust the settings file to disable time syncing. When you want to evaluate software, copy (or inherit from) the image. Turn on 'undo disks' and you have the option to discard all changes made during the run.
I call the image 'Groundhog day'.
Re: (Score:2)
That's like me ranting "BluRay's DRM sucks" and you telling me "this is why hackers provide hacks".
It doesn't make Sony/Toshiba any better for feeding us rogue DRM. Of course I installed it on VMWare, otherwise...
Re: (Score:2)
You know, it's not as if I'm dying to have Delphi for PHP. It's more like THEY dying for us to have it, like it, and finally buy it.
It's extremely hard to convince PHP developers, most of whom selected Apache/PHP because it's free, and Apache/PHP hosts cheap, to buy an app to do what they can do better with free IDE-s like Eclipse PDT.
Re: (Score:2)
Shouldn't you set the date to Feb 2 then? Besides, most stuff with expiration these days phones home and won't run if it can't. Pretty hard to fool that.
Delphi Dead? (Score:1)
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Re: (Score:1)
Re: (Score:1)
Re: (Score:2)
Re:Delphi Dead? (Score:4, Insightful)
First, you have to define what you mean by Delphi. I code using Delphi 5 & 7 (i.e. Delphi's flavor IDE and Object Pascal) every day. With the number of controls available and the knowledge of being able to create my own visual and non-visual controls, this tool allows the company I work for to remain well ahead of our competitors by at least a year ( they copy our features ).
However, Delphi is no longer just the language - it is now a family of IDEs for many different programming languages that have adopted the same advanced IDE and concepts of the original Delphi product.
Is Delphi dead? Well, try to find competent Delphi developers and you'd be suprised. It's probably easier to find older Delphi developers who know the environment very well than to find younger developers versed in it. If you need a Delphi developer, be prepared to pay them well as they are a rare commidity indeed. And, like any developer for any tool/language, their quality and skills vary.
Has Borland/CodeGear blown it? Perhaps. The definitely pissed me off when they raised the price of their tools well out reach of the small developer. They did that when Phillip Kahn built that palace in Scottsdale. Then, they moved to this application lifestyle BS and, essentially, abandoned their core customers. WTF were they thinking? Then, they blew it with Kylix - they didn't fully develop it and keep the costs down to make it easy to adopt. Then, they dropped it like a hot potato. I haven't upgraded my products since then - I certainly wouldn't be able to afford them (the Enterprise and Architect versions) on my own.
Is $249 or $299 too much to pay for Delphi for PHP? Maybe. They will have to show the community that it's worth spending the big bugs over some other IDEs (free and commercial). Will I play with Delphi for PHP? Probably - if they make a trial version that isn't limited (like the Turbo Explorer products are) and actually be able to create my own components and such. And, it sure as hell better be able to talk to Firebird, MySQL and Oracle and not just Interbase - Yes, I like Firebird.
So, is Delphi dead? Let's say that I am retraining myself for C++, C# and probably Java development in the event that I need to change jobs. But, I will continue to use Delphi as it enables me to put food on the table and pay the bills. And, I like it.
RD
Re: (Score:2)
For the record, a dead language is never THAT dead that everyone suddenly drops it. Fortran, Lisp -> they are still used in lots of projects out there but they're pretty much all dead.
In fact, you can argue PHP is starting to die this year, but it still has a majority as a server side technology on the web - it's simply not as simple as saying "is it dead? I use it, but I'm ready to jum
Re: (Score:2)
Of course, it could simply be that we Delphi developers like our jobs sooooooooo much that we don't le
All well and good till they kill the product... (Score:2)
I want it yesterday! (Score:1)
Your app on Delphi (Score:3, Interesting)
I installed the trial Delphi for PHP and created an app which prints "Hello World" on the screen.
For a reference, this is how this looks in plain PHP (granted no MVC and so on, but for the sake of example..):
<?php echo "Hello World" ?>
What does Delphi do?
Keep in mind I simplified it so you stay with me. There's also a bunch of other stuff happening, application classes and what not.
And again, this is how it's done in plain PHP:
<?php echo "Hello World" ?>
This Delphi stuff is really promising I tell you. Or, rather, it's supposed to look promising when Borland pitches CodeGear for sale again. Don't forget, CodeGear was spun off so that it's income is more clearly defined, and it's a more lucrative sale. Borland doesn't care of CodeGear has a future, it only wants to make it LOOK as if it has a future, and this project is sadly nothing more than this.
Re: (Score:3, Insightful)
It's obvious when a web page was made using Dreamweaver, because you'll get things like <font> tags around spaces and sometimes nested <font> tags rather than declaring the colour, size and typeface in one {or, preferably, doing it properly with
Re: (Score:2)
I didn't use Dreamweaver in a long time, but heck, Expression (and Im fairly sure Visual Studio Orca
Re: (Score:2)
Actually this is the difference between embracing the capabilities of the platform you're targeting, and blindly porting abstract concepts from one to another and expect good performance.
Guess which of those two examples Delphi for PHP is.
I mentioned in another p
Re: (Score:2)
If you want performance and hardly any overhead, then go down a few layers of abstraction and code in assembly.
The thing is, I don't have to code in assembly, I simply have to not code in Delphi for PHP and opt for light PHP framework OR
You'll do yourself to acknowledge there's more out there than "assembly" and "Delphi for PHP" when discussing those things. The "code in assembly" argument is tired, cliche and plain wrong.
Let me tel
Don't see this working for PHP (Score:2)
Simply because they use the same "application" aproach that Delphi had. But PHP, or at least webapplications, are not really persistent. Every time you need to save and restore your application session, and for good performance you want to keep this as minimal as possible. When everytime the "program" has to do something you need to restore the "application" it
One day trial? (Score:2)
http://www.codegear.com/Downloads/TrialandFreeVer
Delphi Developer/Programmer checking in (Score:1)
mod me 'luddite' (Score:5, Insightful)
But I read TFA, and viewed the demo vid, and I cringed.
Maybe Im getting old, but Im perfectly content writing my PHP code in vim, and trusting that my template/rendering classes that I rely on will automatically look after the 'drawing of the screens' part of the application, in an efficient manner.
Im happy just writing code that twiddles attributes, performs calculations, and calls SQL. The only 'visualisation' that happens during coding time happens in my head. If you need to pull in the description of an SQL table at coding time - just
The mental state of mind that you need to be immersed in whilst coding is very different to the state you need to be in when testing, or viewing the result from an aesthetic POV. Coding belongs in a text editor, and anything else is a distraction.
Even Ajax - Im perfectly content coding that longhand. Its only a few pitiful javascript functions after all, and I dont see the need to wrap them in a framework. Lets not go around pretending that because we are using AJAX, that we are super-coders on the cutting edge of technology
OK, so my vim/PHP environment might put me back in the dark prehistoric stone ages, but at least I can sleep well at night knowing that none of my webby code is dependent on the fate of a 3rd party commercial product. After all - thats the main reason I use FOSS in the first place. The whole world wide economy can collapse in a radioactive heap tomorrow, and it wont affect my development at all.
And surely to goodness, isnt vanilla PHP with the standard libraries already way high level enough ? What sort of sheer sloth and laziness leads one to think that they need to front-end PHP with something even higher level ? Are we evolving into a race of Jabba-the-hut's, or what ?
Anyone that commits the blasphemy of 'developing an application' using mostly mouse-clicks honestly needs to be placed into a jar of isopropyl alcohol, and donated to medical science - it is just plain wrong, and always has been.
I tend to take the machine's side of the argument anyway - the less code the machine has to munch through in order to come up with any given result, the happier I am. The end result is just pixels on a screen when you think about it, and a lot of frameworks just add more and more layers of code munching for the machine to produce those same pixels and same behaviour. Silly - just keep it light, simple, scalable and avoid dependencies on proprietary products.
Whats so hard about that ?
Re: (Score:2)
Anyone who relies on an IDE to do programming, in fact, not a programmer. Maybe, someday in the distant future, visual tools will have evolved to the point of being all-powerful, but I don't think that will ever happen. It goes back to the same basic argument (and the fundamental flaw in all microsoft designs, but that's another story): if you want to communicate something, you talk!
VIM (or *cough* emacs) is to programming as the command line is to data processing. Without these to
Re: (Score:2)
Things like this aren't meant to appeal to our sort (I bet you knew what the "logs of sines" and similar obscure tables were used for), but to those pointy-haired types who believe management is a transferrable skill, essentia
Re: (Score:2)
In fact, most of the functionality of an IDE should work pretty much independent of whatever libraries and clicky widgets you'd be using. To whit, taking care of CVS, taking care of builds, navigating packages/modules, setting breakpoints and doing the step-through thing while debugging, context-highlighting (oh noes, vim does that, that's evil), predictive input/listboxes that let you pick
Delphi Mortis (Score:2)
The thing about Delphi is that it has ALWAYS been a niche product. Ever since MS started really pushing their coding tools and the other code tool creators started dropping, Delphi has been stuck in a box. But the very fact that it HAS still survived should show
Neat but I want it better (Score:2)
On Delphi for PHP:
I watched the Screencasts (by some indish guy with a heavy accent). The features are cool and developing stuff
Re: (Score:2)
Re:AJAX for database access??? (Score:4, Insightful)
Re: (Score:2)
That sounds more like a security disaster. Freely linking stuff to the data source (including modification) is nice for a desktop app, but when the data is on your s
Re: (Score:1)
Re: (Score:3, Insightful)
What, you mean like every developer worth their wage in PHP has been doing for the last x years?
Do try and keep up...
Re: (Score:2, Insightful)
Re: (Score:1, Informative)
Apparently you have no clue about php ? (Score:2, Informative)
all major software like phpbb et al are like that.
you can make it so that not a single byte of code mingles with template if you wish.
php offers liberty on seperating content with the code. some do not, some do.
Re: (Score:2)
Re: (Score:2)
Re: (Score:3, Insightful)
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
Re: (Score:1)
Re:Nice (so-called) dot-net alternative (Score:5, Informative)
Our CMS is MVC (command and controller j2ee pattern specifically), using PHP's embedding in the views only, is fully OO and has an O/RM layer for datastore access. This kind of set-up is increasingly common in PHP now. Just look at the number of application and database frameworks available for it.
Of course there are always going to be kids knocking out horrible scripts, but that doesn't mean there aren't people doing things properly too.
Re:Nice (so-called) dot-net alternative (Score:5, Insightful)
No kidding? Have you ever seen a quality application written in PHP- it can do all these things and more. I've written many quality PHP applications that use a modified MVC architecture and has all the PHP code separate from the output templates. On top of that it uses OO where it makes sense to do so, it's fast and secure.
It helps to know what you're talking about before you spout off. Just because lots of people build rickety shacks out of stone, doesn't mean you can't build a solid castle out of it too.
It's this kind of generalization that pisses me off. It's not the language, it's your crappy skills.
Re: (Score:3, Insightful)
Are you subscribed to the Secunia security mailing list? A good 1/3 - 1/2 of them are flaws in PHP applications with widespread installation bases. That says something about the language, whether it is the language itself or the prominent users of the language, but I suspect it is a combination of both.
Re: (Score:3, Insightful)
That it's easy enough to learn that complete idiots can write crappy code in it? A bad programmer will write bad code in any language that you put in front of them. PHP just happens to be one of the few languages that's simple enough that the aforementioned idiots can write code that works (for varying definitions of "works
Re:Nice (so-called) dot-net alternative (Score:5, Informative)
As a PHP developer, I agree with everything you said, except "fast", unless:
1. we ignore the speed of all the other platforms out there (python, perl,
2. your requirements of "fast" are modest.
Truth is with more complex architectures and lots of OOP, PHP is really slow, even bytecode caching helps only so much.
PHP shines speed-wise exactly with the kind of "html-and-php-code" soup most pro developers despise. When Yahoo claim they use PHP, they in fact use it as a templating language in exactly this kind of "soup", their actual backend is C and Java.
This is why I'm really surprised at what CodeGear is trying to pull off here. As a developer of an in-house component based template engine myself, I know how painfully slow PHP becomes when you try to abstract some of your logic away in classes and so on. Various "PHP OOP" efforts like Zend's own framework or EZ Components prove my point as well.
Delphi's visual approach with VLC is just a huge bunch of abstraction. I can only imagine the kind of speed these PHP apps will have.. In fact you can pretty much say this effort is doomed from the very moment "PHP" got involved.
Re: (Score:3, Insightful)
The point is that there is nothing specific to PHP that facilitates this approach, and a lot (such as its template syntax) which distracts from it. If you're going the OO/MVC route, why
Re: (Score:2)
PHP also has those crazy globals floating all over the place. Sure, you can implement your own MVC-l
Re: (Score:2)
Which crazy globals do you mean? You don't have any globals in functions or method unless you import them. Or do you mean the 9 super globals? I don't know what's crazy about them. The way they are written is very easy to distinguish from other variables. Thus if you don't want them to be used directly it's very easy to enforce your rules with a simple grep.
Re: (Score:2, Insightful)
Here is a small example of a few MVCs out there.
CakePHP - http://www.cakephp.org/ [cakephp.org]
Symfony - http://www.symfony-project.com/ [symfony-project.com]
Zend Framework - http://framework.zend.com/ [zend.com]
Re: (Score:1)
Re: (Score:2)
As far as CakePHP solving the issue goes though... no, it won't. CakePHP is an MVC inside an interpreted-every-time V, which is part of a rebuilt-every-time MVC. This is very inefficient, obviously. It's pretty much doomed to be that way, because, as I said, PHP is designed to run inside pages, rather than to run and provide pages. CakePHP would be a reasonable alternative for MVC on legacy shared hosting that didn't pr
Re: (Score:3, Interesting)
Hardly.
Re: (Score:1)
Re: (Score:2, Insightful)
Re: (Score:2, Funny)
No, I was in fact thinking the exact reverse.
Although it's still strange, this thinking in terms of TLA's.
Re: (Score:1)
Bah will never work. If your into webdev on windows your a VS c# organ grinder nothing more.
Ibbo
PHPeclipse (Score:2, Informative)
PHPeclipse User Manual [schuetzengau-freising.de]