Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Uniface 9: Some CRUD

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

24 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

Hi Richard

I quite agree that a business application is not just based on CRUD... but it will have simple CRUD screens that will need converting if you are doing an entire conversion.

The first problem for many, is how to convert an excluisive uniface knowledge into something much wider... router, servers, web etc etc.

The second problem for many, is that uniface 9.4 has much much more functionality that the uniface 5 type stuff that we have relied on for so long.

My approach is to convert those simple screens...  realise stateless problems, paging and anything else along the way.

Apply this gained knowledge to develop more complex processes.

-- To see your ChUI application data suddenly appear on the web is quite something

 

One has to start somewhere, and for me personally 'hello world' has always worked in the past.

 

Thanks

osie

 

 

 

 

 

 

 

développer, se développer, valoriser, se manifester, faire manifester, exposer, créer, établir, former, mettre en valeur [develop]

Author: osie_osie (osieman@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

@ Richard:

"the main problem with MusicShop is that, beside it seems cool and complete, it's far from it !"

Cheers, mate :) ... I like to read that, while it is not myself who writes this :)))

@OSIE:

CRUD is a nice thing ... but today you do manage your stuff in other ways. I guess the CRUD comes from the Uniface demos, where you would use it to navigate throug the occurences. But Richard is right ... it seems a bit outdated. But if it works for your project then it's ok

:)

The last time I did CRUD was back then in 2008 when I first came across the [F1] tutorials within Uniface. Things has grown smarter ...


Author: -GHAN- (hansen@ahp-gmbh.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

Hi

the main problem with MusicShop is that, beside it seems cool and complete, it's far from it ! Most commonly pitfalls found in real business applications are not handled in this sample (well, it's a sample, not an application :) ).

We're achieving to port our client/server based solution to the RIA way. Much assumed knowledge must be revisited, because of stateless mode, limited DSP communication (static scope), and so on. But with a good preparation, with a toolbox to ease DSP development, and a revision (and simplification) of existing transactions, it's possible.

I'm not sure a CRUD approch is right for a well established application to be ported. Most of your model accesses should be done via business rules (more elaborated than CRUD).

this's my vision on how to get into the Uniface RIA :)

Best regards,
Richard


Author: richard.gill (richard.gill@agfa.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

thanks ;-)

I have not had a look at USP for a while... but when I get the time I will go back to them. 

 

 

 


Author: osie_osie (osieman@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

[[Media:2360778]]

There u go, Osie :)


Author: -GHAN- (hansen@ahp-gmbh.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

Sorry the pic is in - RIA screen shot  1.jpg... could not figure out how to link it in...

 

Author: osie_osie (osieman@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

... erhmm ... can't see anything :) They seen be have gone somewhere. Try to upload it to the screenshots (MATERIALS) in the forum. Guess, that will solve it.

 


Author: -GHAN- (hansen@ahp-gmbh.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

As promised.. here is a screen shot that I have been playing with .. if the link works

the pic is in - RIA screen shot  1.jpg... actually I could have done about 8 screens in the time to write this email :-D

 

It uses the MUSICSHOP  code to produce a CRUD on any entity I want.

It comprises of

a dynamic tab generator (done via defines) such that you get a tab for each entity you want CRUD functionality for.

-- The bits at the top of the screen Drinks, Food, Rooms etc which automatically run the correct DSP's.

 

2 DSP templates which autogenerate the list screen, and detail screen

-- The list screen is a dropdown list, search keyword function, paging, and sort buttons for all visable fields... exactly same functionlity as musicshop but generated dynamically

-- The detail screen is a basic template which I then do a load all fields with.

-- All labels are automatically inserted via messages and are language sensitive

 

The conculsion is that for each new entity I want it takes about 5mins to add a new tab, generate the fully functional list screen and detail screen.  The most labourous task is the matching generic template field for component enttiy field.

In the time it took to write this email I could have done 4 more screens :-O

n.b. I am not sure of the pro/cons but I found the only way to have the list and detail screens to work together was to set them as state management components.

 

osie

 

 

 

 

 

 

 

 


Author: osie_osie (osieman@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

Good Morning from here,

it is pleasend to read, that you found your way through my tutorials. I saw you online working on it ;)

Right now, I'm preparing Part 4 of the Uniface frontend templating series, which again will take uDict as example and extend the Uniface Entity Explorer a bit with multiple outputs. But that's still work in Progress as well as the "GHANIFIED! Javascript ToolKit v0.3" with a bucket full of enhancements and new stuff.

Did you miss something here or there?! How could I improve this from your point of view?

Cheers,

-GHAN-


Author: -GHAN- (hansen@ahp-gmbh.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:30 AM UTC

Some CRUD

Author: osieman@gmail.com (osie_osie)

I am not sure if everyone is already an expert in RIA using uniface or not.  There seems to be very little talk on the subject.

There seems to be alot of lacking material to be able to achieve RIA using uniface.  I am not sure if this is becuase it is a new concept or because you first need to pay for a course the get the knowledge.

 

I would have thought everybody would have already converted parts of their application to web.. if only out of interest.

I am hoping to convert an entire uniface application to web.. which seems do-able.

I have played/ am playing with the music shop which is great!! .. however it seems to be lacking the obvious.  The create/update and delete parts.

So, has anybody got an example of a uniface web form (DSP) with CRUD functionality.

 

Merci

osie

 

 

 

Hi Ghan

 

Really nice tutorials... I went from html basics to your entity server... all worked perfectly... Now, it is time to look at it a bit more indepth.

Very surprising how easy it was to call a usp/dsp from the web.

 

I am still keeping my options open whether to go usp or dsp... but I have now some insight into usp's too.

 

Thanks

osie


Author: osie_osie (osieman@gmail.com)