FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » What *tasks* are hard for PHP?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: What *tasks* are hard for PHP? [message #171973 is a reply to message #171968] Mon, 24 January 2011 14:48 Go to previous messageGo to previous message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma:
Senior Member
On 1/24/2011 2:54 PM, axtens wrote:
> On Jan 24, 7:17 pm, The Natural Philosopher<t...@invalid.invalid>
> wrote:
>> axtens wrote:
>>> On Jan 24, 6:36 pm, The Natural Philosopher<t...@invalid.invalid>
>>> wrote:
>>>> Álvaro G. Vicario wrote:
>>>> > El 24/01/2011 10:51, The Natural Philosopher escribió/wrote:
>>>> >> axtens wrote:
>>>> >>> I've asked this question on my blog. See<http://
>>>> >>> codeaholic.blogspot.com/2011/01/php-what-cant-or-wouldnt-you-do-in-
>>>> >>> php.html>. No flames required. No discussion about language semantics
>>>> >>> or implementation either (if at all possible). I just want to get an
>>>> >>> idea of what can and can't be done with PHP at the task level.
>>>> >>> Bruce.
>>>> >> I hav found it crap at taking the dogs for a walk.
>>>> > May I suggest you upgrade to cats?
>>>> Have those as well. Bloody socialists. Expect you to provide em with a
>>>> home, free food and medical treatment, and even then, when they don't
>>>> get it, they crap in the bath.
>>
>>> There's got to be a way of asking this question, without getting such
>>> high quality responses.
>>
>> Try using plain English instead of techno-babble.
>>
>> 'At the task level', indeed!
>>
>> Look up what 'task' means.
>>
>>> Bruce.
>>
>>
>
> Okay, so would *you* phrase it, seeing as I'm so dumb? I want a list
> of things that are hard to do in PHP. Can PHP do decision tables? Or
> change from outputting HTML to outputting RTF by just changing one
> instruction (okay, it's not fair to pit PHP against Protium but do you
> get what I mean here?) Okay, one thing I know already: PHP sucks when
> it comes to Unicode. Anything else?
>
> Bruce.

Hi Bruce,

A decision table can be build in any language, even VBscript.
PHP is very strong when it comes to array manipulation, so I'd say it is
even easier to implement decision tables in PHP than in many other
languages.

HTML --> RTF ?
I wouldn't know.
I also wonder how such a RTF would look like for complex pages with lots
of positioned elements.
But if you want a simple html-->rtf, google around a sec to see what
others have come up with so far.
First google hit:
http://www.phpclasses.org/package/1805-PHP-Create-RTF-documents-from-HTML.h tml

But be prepared to find a lot of bad scripts on the net.
So it is better to master PHP yourself. (After that you won't ask
anymore "if it is possible to convert html to rtf by changing one
instruction", because you will understand better what is involved, and
that the question is a bit silly.)

I view PHP as a versatile general purpose programming language.
Of course it is centered around http, but it isn't limited to that.
I have used PHP for batched wav-file cut/pasting based on cuepoints,
batched image manipulation, artificial intelligence, etc.

If there is one thing missing in PHP, I'd say it is its lack of
integration with the desktop. (Can be done with tck, but that is
cumbersome in my humble opinion.)

Maybe you should wonder if PHP is the right language for you based on
what PHP's strong points are, not it weaknesses.

Regards,
Erwin Moller


--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sanitising input
Next Topic: php include question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 04:24:25 GMT 2024

Total time taken to generate the page: 0.03942 seconds