-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update templates #6
Comments
Here's one I've been working on. It uses a different syntax but hopefully the intent is discernible. What I've found useful is to define some record types and then use them almost everywhere for parameter passing - this leads to less repetition in the generated packages. Package spec:
|
Package body:
|
Thanks @jeffreykemp For the template that we include right now I'd like to keep it to the basic CRUD functions to help highlight how to use Handlebars in a PL/SQL code. Where do you think we should put other's template files? I.e. this works for you and others may want to view/use it for their system. Should it be in the |
Hi Martin, I think a "templates" folder is a good idea. In addition, a "draft" github branch might be a good way to keep new/proposed templates separate from the main area, and when they have been converted to Handlebars they can be promoted to the master branch. I don't know what a useful naming standard would look like. We may need to just name them template01, template02, etc. for now and come back later when we have a better idea. Or name them after their creator - kemp01, dsouza01, etc. |
Ok let's put them in the Can you convert your template that you include above to use Handlebars and add to the project. |
Need to update the templates to show fully working TAPIs. We may need to also update the the Handlebars lib file to include common, repetitive procedures. (see #7 )
The text was updated successfully, but these errors were encountered: