Can I work without Jet Studio?
I tried Jet Studio. Interesting tool.
How does it work? Is it possible to develop an application without it?
Answers (2)
Hello!
Of course. It's no problem.
Jet Studio is actually nothing more than a code generator and a definition generator.
This tool does not use any meta layer and operates directly on the source code and definition information.
For example, you can define ORM definitions (but not only those) yourself in the source code, for example as follows:
#[DataModel_Definition(
name: 'article',
database_table_name: 'articles',
id_controller_class: DataModel_IDController_UniqueString::class,
id_controller_options: [
'id_property_name' => 'id'
]
)]
class Content_Article extends DataModel
{
#[DataModel_Definition(
type: DataModel::TYPE_ID,
is_id: true
)]
protected string $id = '';
#[DataModel_Definition(
type: DataModel::TYPE_DATE_TIME,
)]
#[Form_Definition(
type: Form_Field::TYPE_DATE_TIME,
label: '',
error_messages: [
Form_Field::ERROR_CODE_INVALID_FORMAT => 'Invalid date format'
]
)]
protected ?Data_DateTime $date_time = null;
#[DataModel_Definition(
type: DataModel::TYPE_DATA_MODEL,
data_model_class: Content_Article_Localized::class
)]
#[Form_Definition(is_sub_forms:true)]
protected array $localized = [];
}
However, we believe that working with Jet Studio is much more efficient and cool ;-)
Have a nice day!
Pefect, thanks!
Your Answer
Please Sign In or Sign Up. It is really simple, and it takes only few seconds. You can use your Google account.