Koozali.org: home of the SME Server

Why I gave up coding in PHP a long time ago and would prefer to remove it

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
It's impossible to write reliable and secure code in PHP. Witness:

http://lwn.net/Articles/618495/

http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
« Last Edit: October 31, 2014, 04:13:11 PM by CharlieBrady »


Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Why I gave up coding in PHP a long time ago and would prefer to remove it
« Reply #2 on: November 06, 2014, 02:55:09 PM »
Xavier.a, would you mind to elaborate a bit more your thought?

the facts that php is widely used but poorly designed and unsecure are not in conflict (VB anyone?)
so, again, what's the point?

thank you

Offline Xavier.A

  • ***
  • 104
  • +0/-0
Re: Why I gave up coding in PHP a long time ago and would prefer to remove it
« Reply #3 on: November 06, 2014, 04:06:39 PM »
(short answer because of eclipse luna bug "SLF4J" to resolve)

/!\ don't shoot at me, no flame, no rude things here ;-) /!\

My thought is just a constatation, we are living in a real world and we have to adapt our desire to the reality of the IT business. Today we are using Python to teach algorithmic lessons but I would like to use C++ or Java.

Other example, I'm using XML and XSLT in scenari project with java tranformers to generate HTML file because it' s the best way to structure data (no movies but WYSIWYM tool : http://scenari-platform.org/projects/scenari/fr/pres/co/) I would like to use XML in SME Server in place of the plain text DB, but I will never propose this idea to the board members, some want already to send me in psychiatric hospital  :lol: (oups sorry )

If we study a little bit those pages :
we could think that PHP is the winner but the market is evolving to XML, HTML5, para-virtualization, Android SDK (future best linux embedded distri in place of OpenEmbedded/ Buildroot/Scratchbox ?) and more Java for enterprise web application (CMS, LMS, ERP/CRM/XRM, GED,...etc).

In fact i'm agree with CharlieBrady and Koozali Dev should not use PHP for SME Server manager, but they certainly will do it because of lack of HR in Koozali team.

That was just my 2 cents ;-)

Regards

P.S.: The idea of RequestedDeletion to create a developer forum here is really good idea, it would help the Koozali board to find new volunteer. The best place to be for the moment is here : http://www.developpez.net/forums/.
« Last Edit: November 06, 2014, 04:23:33 PM by Xavier.A »
“When the wise man points to the moon, the fool looks at the finger.”

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Why I gave up coding in PHP a long time ago and would prefer to remove it
« Reply #4 on: November 06, 2014, 04:23:41 PM »
/!\ don't shoot at me, no flame, no rude things here ;-) /!\

it depends on your attidude/approach in your answer
let's see

Quote
My thought is just a constatation, we are living in a real world and we have to adapt our desire to the reality of the IT business. Today we are using Python to teach algorithmic lessons but I would like to use C++ or Java.

Other example, I'm using XML and XSLT in scenari project with java tranformers to generate HTML file because it' s the best way to structure data (no movies but WYSIWYM tool : http://scenari-platform.org/projects/scenari/fr/pres/co/)

ok

Quote
I would like to use XML in SME Server in place of the plain text DB,

you are welcome.. bugzilla is there; you are free to post your suggestions/ideas, your code.. all with the necessary reasons to adopt a new solution..

Quote
but I will never propose this idea to the board members, some want already to send me in psychiatric hospital  :lol: (oups sorry )

unneeded comment.. you've been told (too) many times: stop to approach in this way.

Quote
If we study a little bit those pages :
we could think that PHP is the winner but the market is evolving to XML, HTML5, para-virtualization, Android SDK (future best linux embedded distri in place of OpenEmbedded/ Buildroot/Scratchbox ?) and more Java for enterprise web application (CMS, LMS, ERP/CRM/XRM, GED,...etc).

ok

Quote
In fact i'm agree with CharlieBrady and Koozali Dev should not use PHP for SME Server manager,

ok

Quote
but they certainly will do it because of lack of HR in Koozali team.

aha.. interesting.. so you are aware of something that has already been decided.. can you please tell us (not only to ME, but to all the reading people) why are you so sure and where did you read/hear such a thing?
there's nothing true in your guessing

Quote
That was just my 2 cents ;-)

Regards

I'd say that's more than 10 cents, if you know what I mean..

Offline Xavier.A

  • ***
  • 104
  • +0/-0
Re: Why I gave up coding in PHP a long time ago and would prefer to remove it
« Reply #5 on: November 06, 2014, 08:32:31 PM »
Well you are focusing on everything except technical things   :lol:

it depends on your attidude/approach in your answer
let's see
Let' see...if you could reply more technically.

I don't really know your skill level but I would like to know your feedback of developper about this article:

May be you can't read this page http://www.developpez.com/actu/76979/Quel-est-l-effet-du-langage-de-programmation-sur-la-qualite-du-logiciel-Une-etude-tente-de-clarifier-la-situation/
but you could read this PDF : http://macbeth.cs.ucdavis.edu/lang_study.pdf
“When the wise man points to the moon, the fool looks at the finger.”

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Why I gave up coding in PHP a long time ago and would prefer to remove it
« Reply #6 on: November 06, 2014, 08:46:00 PM »
Well you are focusing on everything except technical things   :lol:

atm I'm just reading.. but I can't ignore the fact that in (almost) every post of yours you have an annoying  and controversial attitude

Quote
Let' see...if you could reply more technically.

I could and I will.. when you stop being annoying.. it's up to you

Quote
I don't really know your skill level but I would like to know your feedback of developper about this article:

May be you can't read this page http://www.developpez.com/actu/76979/Quel-est-l-effet-du-langage-de-programmation-sur-la-qualite-du-logiciel-Une-etude-tente-de-clarifier-la-situation/

I'm sorry.. no french on this side.. and in this forum we speak english only, tnks

Quote
but you could read this PDF : http://macbeth.cs.ucdavis.edu/lang_study.pdf

interesting.. I will take a look, thank you

guest22

Re: Why I gave up coding in PHP a long time ago and would prefer to remove it
« Reply #7 on: November 07, 2014, 12:36:47 AM »
This is no longer directly related to Koozali SME Server. Can you please take this discussion elsewhere?

As a matter of fact, I am fed up with these kinds of "fights". Go elsewhere please!

edited by Stefano: corrected bad tags as requested

Offline ReetP

  • *
  • 3,732
  • +5/-0
Re: Why I gave up coding in PHP a long time ago and would prefer to remove it
« Reply #8 on: November 07, 2014, 04:07:36 PM »
Xavier,

Kindly refrain from making generalisations that have no foundation.

Neither the Board nor any developers have made any decsionss at all regarding the server-mananager.

Yes there is a general consensus that we would like to update it.

Yes there is a general consensus that mojolicious might be a good potential candidate.

Beyond that, nothing else. We have few people and too much else to do.

When the time comes to discuss it fully we hope that people will contribute to both the debate and the code accordingly.

 Your suggestion about xml may be a good idea. But the corrtect place for that us the bug tracker.

A dev forum may be an idea and that will be discussed accordingly.

Note that as a Board we do take intelligent comments and suggestions seriously. We may not be able to act immediately due to the lack of manpower. It doesn't mean they are ignored. Your best chance of a positive response is a degree of civility, positive comments and some code from yourself to demonstrate your ideas. If you want something changed then help with some of the work, don't just tell others what they should be doing.

Don't bite the hand that feeds you....

Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Why I gave up coding in PHP a long time ago and would prefer to remove it
« Reply #9 on: November 07, 2014, 04:47:40 PM »
This is no longer directly related to Koozali SME Server.

H-F, general discussions about programming languages is not off-topic for this forum:

 "Discussions about contribs.org, Linux in general, and other topics that don't belong in the other forums."

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Why I gave up coding in PHP a long time ago and would prefer to remove it
« Reply #10 on: November 07, 2014, 04:53:03 PM »
I would like to use XML in SME Server in place of the plain text DB, ...

JSON and YAML would be other possibilities. If you can implement esmith::ConfigDB with a different backend format, then we could compare and contrast the different implementations. I think if you don't implement the esmith::ConfigDB API, then you are talking about a re-write from the ground up.

As John says, if you have a concrete proposal, the bug tracker is the place to plant the seed.