Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: March 29, 2024, 6:29 am

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP Locally
#21
RE: PHP Locally
Yes, that is what I was referring to. I design and build remote APIs for a living, and one of my personal commandments is: thou shalt not break legacy clients unnecessarily. I believe Google subscribes to that one as well. Big Grin
Reply
#22
RE: PHP Locally
Server side's dept head has a motto too -- "Never send back unnecessary data. And stop wasting my bandwidth!"

/roll eyes

Just another day at the office.
Slave to the Patriarchy no more
Reply
#23
RE: PHP Locally
There is truth to that, to a degree. However, this approach is less wasteful of, well everything, when compared to scraping HTML.

Dar- I dont know what's available in Delphi, in Java we have frameworks to map objects representing the request/response objects and make URL based requests, making this sort of thing trivial. Look around for docs on best practices implementing REST clients.
Reply
#24
RE: PHP Locally
I'm impressed Dar hammered out a full application in that dead language.

Talent like that should be working for us.
Slave to the Patriarchy no more
Reply
#25
RE: PHP Locally
(June 7, 2012 at 8:56 pm)Moros Synackaon Wrote: I'm impressed Dar hammered out a full application in that dead language.

Talent like that should be working for us.

Hey now, I own about half a million lines of C. No bloody #, no bloody ++.

Watch what you call a dead language. Their feelings are easily hurt. Big Grin
Reply
#26
RE: PHP Locally
Pascal and it's descendants are rather dead. Delphi was the most successful of the recent revisions. But without an ecosystem or similar languages, it's an isolated island.

Citing C, the industries most popular language, is a rather silly comparison, dontchathink?

Pascal was a terribad language and it didn't stick.

C is wonderful and has stuck. Probably will stick around a long time.
Slave to the Patriarchy no more
Reply
#27
RE: PHP Locally
(June 8, 2012 at 1:33 am)Moros Synackaon Wrote: Pascal and it's descendants are rather dead. Delphi was the most successful of the recent revisions. But without an ecosystem or similar languages, it's an isolated island.

Yep. Pascal, and later Modula-2 were my first "real" languages.

(June 8, 2012 at 1:33 am)Moros Synackaon Wrote: Citing C, the industries most popular language, is a rather silly comparison, dontchathink?

My comparison was largely tongue-in-cheek. I hear "we need to rewrite all of our [x] code in Java, because [x] is a dead language" all the time (where [x] is most often C). The truth of it is, the motivation is really because we have more competent Java developers than anything else. I'm really the only C guy - and if I get hit by a bus, they're screwed. Not because they couldn't hire someone to do the work, but due to the training time required to learn the application framework.

My view on it - bite the bullet and take the time required to properly train a backup person, or to build a Java framework and deploy new functionality in Java (they're in-house proprietary apps). The legacy stuff will eventually become obsolete and need not be rewritten - they rarely get touched once deployed, and it doesn't take much of a C programmer to fix whatever bugs are discovered.
Reply
#28
RE: PHP Locally
I feel I must rush to my beloved Delphi's defence! Lot's of people seem to say this about Delphi. It's a bit like the wine ponce's who say that sparkling wine isn't a patch on Champagne or those idiots from Top Gear (car ponce's) who, no matter how brilliant the car will slate it if it's a Lexus.

It was the same on the Amiga when I was using GFA Basic and everyone else was using C. Get a proper language they'd say, even though I was producing brilliant software that always made it onto the coverdisks of all the major mags and was making over £1000 a week, back in the early 1990's!

So, back to my mistress, the Delphi R.A.D. environment. From the point of view of a freelance programmer of mainly desktop apps who has no intention of ever working for anyone else, this is a superb system. It's incredibly well supported with a hard core of loyal and stubborn users who refuse to use anything else, myself included. And when I do run into the odd problem, like this one, it's not the language that is at fault but my ignorance of the subject.

And when, at long last, my project is finished I shall be proudly stating, "Written using Delphi 7" in the About Box.

So there Hmph
[Image: cinjin_banner_border.jpg]
Reply
#29
RE: PHP Locally
(June 8, 2012 at 2:24 am)Darwinian Wrote: And when, at long last, my project is finished I shall be proudly stating, "Written using Delphi 7" in the About Box.

You mean you haven't written that in yet?

Most people put their names of their projects when they begin. Tongue

The Visioforge SDK site was serving malware last time I visited their main page. Had to use Google to access the subpages that told me /what/ it was. It may be well supported, but it's isolated.

Your pride reminds me of the IDL programmers around my sister's workplace, right down to the "hard core of loyal and stubborn users who refuse to use anything else".

I learn new languages for fun and profit. I'll use anything and everything to improve my understanding of optimal abstractions, architecture and "beautiful code". My only requirement is that you have similar paradigm languages that are in similar demand, as that indicates a pool of developers who can switch to compatible implementations and subtley different ideas at the drop of the hat.

But if the tool fits, then use it.

Use it as best and as fullest as you can.
Slave to the Patriarchy no more
Reply
#30
RE: PHP Locally
How about just compiling libcurl (since that's what the code is - cURL) in Windows, then including it with your program, and have your program use the class? (I haven't looked at Delphi since it was Turbo Pascal for Windows, so I can't help you on that end of it.)
Reply





Users browsing this thread: 1 Guest(s)