Book a Demo

Author Topic: t_script table  (Read 3101 times)

thomaskilian

  • Guest
t_script table
« on: November 19, 2007, 05:15:59 am »
Hi there,
browsing through EA's tables I found one named t_script. Any idea what that is good for? Makes me very curious ;)

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: t_script table
« Reply #1 on: November 19, 2007, 05:57:11 am »
No idea Thomas.

It certainly has nothing to do with shape scripts, either at the metamodel or reference data level.

Perhaps it is a throwback to days of yore, I checked the EABase file from version 3.50 and the table is there.

If it is not being used now, wouldn't it be a great place to put more complex shape scripts and such? We might not even have to trash the schema to make progress. Wow!

David
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: t_script table
« Reply #2 on: November 19, 2007, 11:20:06 am »
It's being used for build scripts.

thomaskilian

  • Guest
Re: t_script table
« Reply #3 on: November 19, 2007, 11:13:21 pm »
Too bad. I hoped for something more fancy :'(

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: t_script table
« Reply #4 on: November 20, 2007, 05:15:46 am »
This gets me to thinking - and that happens so rarely that it really is worth writing about - that there might be a quick win here.

Perhaps this table could act as the host for more general scripts. Newer script types could be prefixed with a header line, identifying the type and language version of the script, such as shape script language 1.x. In order to preserve legacy code, the parser could gracefully handle a missing header by assuming this is a (legacy) build script; newer build script language versions would also use the header line.

Now you've got a table that could store various script types, perhaps even user-defined scripts of some sort.

There would also have to be a corresponding tweak to how reference data transfer occurs. This would filter appropriately, in both directions, to affect only scripts of the chosen types.

What say?

David
No, you can't have it!

thomaskilian

  • Guest
Re: t_script table
« Reply #5 on: November 20, 2007, 07:59:49 am »
I guess you ask Sparx ;)

But yes, good idea. Let's hope it's starting some ticking in some responsible brain :)