Book a Demo

Author Topic: custom filenames  (Read 5300 times)

aijalon

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
custom filenames
« on: January 18, 2005, 01:00:29 pm »
We use custom filename (or extensions) in php for better organization. For e.g. a class will be represented as x.class and a form would be represented as x.form etc. Is there any way a feature can be added where user can define what extensions to look for when importing the sources?

thomaskilian

  • Guest
Re: custom filenames
« Reply #1 on: January 19, 2005, 01:49:22 am »
You can do this already for predefined languages: Tools/Options/Generation/<your language>/Import extensions.
AFAIK you can add PHP to this list of languages - but I forgot how. There was a post from Sparx support on how to do this.

aijalon

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: custom filenames
« Reply #2 on: January 19, 2005, 06:54:06 am »
Thanks for your tip, but it is hard to tell where if it is there without proper docs (may be I overlooked it). But the surprising thing is that it is not mentioned in any the help files that I have and except your post I can't find any other.

So I am still stuck with how to add the php to generation menu. Any body has any ideas?

thomaskilian

  • Guest
Re: custom filenames
« Reply #3 on: January 19, 2005, 07:46:04 am »
Sh... I found the post http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1103792394;start=1#1 and I played around a bit. It is possible to define code templates and create code, but the options do not  include the new language. You can define the fully specified name of the class using the context menu Generate Code (fwd) / Path.

Sparx plans to include PHP5 support for one of the next releases.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: custom filenames
« Reply #4 on: January 26, 2005, 01:30:52 pm »
There currently isn't a PHP options page and it's not currently possible to specify the file extentions to use when importing PHP.  This will change for build 745.

Simon

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: custom filenames
« Reply #5 on: January 31, 2005, 08:59:34 pm »
A PHP options page including the extensions to look for PHP code in when doing a directory import has been added for build 754 which is a beta build of version 4.51 available only to registered users.

See http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=Latest;action=display;num=1107149640

Simon

aijalon

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: custom filenames
« Reply #6 on: February 01, 2005, 07:03:56 am »
I am still trying to evaluate the system and we are predominantly PHP shop. So any way I can get to test it out. I'd like to see how the product works before I make a decision.