Book a Demo

Author Topic: Importing PHP procedural files  (Read 4108 times)

Giu Platania

  • EA User
  • **
  • Posts: 88
  • Karma: +4/-0
  • As Above so Below
    • View Profile
    • Linkedin
Importing PHP procedural files
« on: December 04, 2007, 01:56:37 am »
I'm looking for importing with code engineering large PHP procedural files (no classes) in EA.
While I had good results with C (a class is created for every file) with PHP I get no file import.

Do you have any suggestion?
« Last Edit: December 04, 2007, 06:35:52 am by pgiuseppe »
Giuseppe Platania
Enterprise Architect
Door Business Consulting
+++
"As above so below, to accomplish the miracles of the One Thing" - Trismegistus
===
The above content reflects my own opinion and is not endorsed by Monthy Python
***
The above is NOT a reference to Monty Python

thomaskilian

  • Guest
Re: Importing PHP procedural files
« Reply #1 on: December 04, 2007, 03:14:10 am »
I'm using classes stereotyped <<utility>> to show that these contain PHP procedures. The code gen is modified so that it detects this. The code itself needs to be stored in an operation with the same name as the (pseudo-) class. Reverse eng. does not work, however.

Giu Platania

  • EA User
  • **
  • Posts: 88
  • Karma: +4/-0
  • As Above so Below
    • View Profile
    • Linkedin
Re: Importing PHP procedural files
« Reply #2 on: December 04, 2007, 06:37:07 am »
Reverse eng. is the point.
I wonder why it is working for procedural C and not for procedural php.

It is possible to modify the Reverse eng. imports?
Giuseppe Platania
Enterprise Architect
Door Business Consulting
+++
"As above so below, to accomplish the miracles of the One Thing" - Trismegistus
===
The above content reflects my own opinion and is not endorsed by Monthy Python
***
The above is NOT a reference to Monty Python

thomaskilian

  • Guest
Re: Importing PHP procedural files
« Reply #3 on: December 04, 2007, 07:18:29 am »
No. This is hard wired. You need to ask Sparx (try also to get support using the Suggestions board).