Book a Demo

Author Topic: PHP5 Code generation - buggy ?  (Read 12791 times)

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: PHP5 Code generation - buggy ?
« Reply #15 on: November 29, 2005, 03:34:07 am »
Sorry - some people think they can (and should) pingpong between adding code and expecting the model to automatically track everything.

As sargasso (not a Sparx person) said somewhere, "EA is primarily a modelling tool [rather than] a code generator",  and somewhere else, " ... [rather than] a refactoring tool" ... although some may consider these features extremely beneficial !

Reminds me of Star Trek's McCoy, "Jim, I'm a doctor, not a [...] !"

That said, it has some pretty good code sync features, which can only get better as people pushing at the boundaries make useful suggestions.
« Last Edit: November 29, 2005, 03:36:13 am by mikewhit »

maYer

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: PHP5 Code generation - buggy ?
« Reply #16 on: November 29, 2005, 03:56:29 am »
Mikewhit,

this is not a new thinking, more the normal way to go if your for example develop with Together or Eclipse UML.
U dont need to go into the model and put your details in there. You`re just free to look at the code, adding a attribut, and its AUTOMATICALLY synced in real time. And believe me, you safe a lot of time and never want to miss this functions anymore.

I know thats not possible for PHP that way, but i discribed what would be more then a great addition and is not hard to realize with the current EA.

best regards

Mayer

maYer

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: PHP5 Code generation - buggy ?
« Reply #17 on: November 30, 2005, 10:33:50 am »
I think that one is closed, isnt it ?

best regards

E.Mayer

thomaskilian

  • Guest
Re: PHP5 Code generation - buggy ?
« Reply #18 on: November 30, 2005, 01:54:05 pm »
Closed? What?

maYer

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: PHP5 Code generation - buggy ?
« Reply #19 on: December 06, 2005, 01:36:17 am »
Closed means, the developers are not heading solve that issues.
Hopefully there will be another solution in the future.

best regards
E.Mayer

thomaskilian

  • Guest
Re: PHP5 Code generation - buggy ?
« Reply #20 on: December 06, 2005, 01:02:17 pm »
Yes. Maybe typing in PHP6 could be a solution...

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: PHP5 Code generation - buggy ?
« Reply #21 on: December 07, 2005, 01:49:54 am »
We could always use UML 3.0

woutert

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: PHP5 Code generation - buggy ?
« Reply #22 on: December 19, 2005, 07:37:21 am »
Hi There,

Just to add to the discussion.

I have downloaded the trial version of EA 6.0.x.
I am using PHP 5 as code language. I tried to reverse engineer a project of mine.  With some time spent i got the project nicely into the model. When i added new classes and method i saw that i lost the variable types (which i always have defined in PHPDoc). I found your discussion on one time reverse engineering and from then on only forward engineering.

As a OO purist i totally agree with the fact that you normally work forward. But working a lot with PHP programmers that don't have much experience with Modelling languages i think that it is nessecary to have the possibillity to create round-trips.

For me it is a must to be able to work with EA.
I find the tool very handy and i would really like to buy it, but if i lose all var information by reverse engineering twice, it is of no real use to me.

grtz,
Wouter

thomaskilian

  • Guest
Re: PHP5 Code generation - buggy ?
« Reply #23 on: December 21, 2005, 03:46:55 am »
If you are honest with "only forward engineering" it WILL be of great use for you. Just the poor round-trippers will not find it useful. :-X

maYer

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: PHP5 Code generation - buggy ?
« Reply #24 on: January 13, 2006, 01:09:56 am »
Hello,

this is exactly what i mean woutert.
There is no really diffrence between a free-cost combination like Umbrello/Eclipse comparing to the actual status of round-trip of PHP in EA.

best regards

mayer