ADM2 SmartObjects

Annie

New Member
I am trying to evaluate ADM2 SmartObject technology, but am not finding it easy to pick up from the documentation. I have created a simple example where a SmartDataObject connects to our AppServer (using partition info) and sends data back to a SmartDataViewer and SmartDataBrowser. I am struggling to get an example going with multiple SDO's and a SmartBusinessObject. I am not sure how it all hangs together - e.g. does the SBO drive finds etc directly referencing the tables in the query of the SDO's or should I perform finds in the SDO and pass it on to the next SDO? The later doesn't seem right!

Does anyone have a sample app which incorporates SBO's and SDO's(maybe using the sports dbase) they can send me to give me some clues? That or any info would be much appreciated.

Thanks in advance!
 
Smart Links

Greetings,
You have not obviously appreciated the concept, and mecanics of Smart Objects / V9+ & ADM 2- Smart Data Objects.
You have described a simple maintenance screen. Where for ADM 2, you require a Query , which can access the database directly and therefore is the data src. You need to establish links to your objects, for the smart data browse, a simple data type link is required. The query is the src, the smart data browser is the target and the link type is data. The Smart data viewer needs a data src (qry), and a tableio link to update the query. You need a Smart toolbar to control the update also. Hope you can figure it out from this.
 
Re: Smart Links

Allegro has a book out called "Coding Smart - How to Use Progress ADM2", on its second edition.

if i was getting started with adm, i'd go buy this book

http://www.allegroconsultants.com/codingsmart/


adm does have its uses, but for one it's fairly rigid. another things is that it doesn't really have a future

if you're looking around for user interface options, imo, going with a web ui is a much better choice, for many reason

and its something you should certainly consider even if you're mainly a gui shop.


i recently had to do a gui job. relatively small, nothing too complicated

i choose to put it together with adm. the whole job, designing the database and some dozen screens took just about 2 days

its great for doing some things but trying to make it do things its not designed to gets really complicated really fast

theres also the DWP and eScript frameworks (that i know of) that you can look into
 
Dude,
ADM 2 has made language advancements from ADM(1), the term is now for ADM2 ; Smart Data Objects. ADM 2, CAN NOT access the db directly thus it needs a Data Src. PSC / PRGS, evolved V8 ADM into the stable V9 ADM2 and it has been brought through to OpenEdge (V10) because it works.
 
just keep telling that to yourself :) (i'm only kidding).

actually they've dropped the project for some time now, because it didn't really work. last i heard about adm were migration papers, well, mostly.

point is its too complicated and rigid. they've essentially admitted to that, though not in those exact words.

and, again, its the same language they didn't have to bring anything. the same code that worked in previous versions works in newer versions.

imo, in a broader sense progress gui is problematic and limitng path to take, at least at the moment and maybe until the next major release (late 2007 to 2008).

a web ui makes a much better option, besides it wouldn't be a bad idea to step outside of the progress world just a little :) for one theres tons of code you can copy and use strait away.
 
Out of Progress world >> In to >>

With the advancement of 'net technologies, indeed there are options available to step out of the Progress world. The eScript world looks like a direction to take. eScript is the colaberation with Progress and the Eclipse foundation, looks effective and beneficial.
 
The mechanics of the EXCELLENT Smart Objects and how it all hangs together is simple; Smart Links.
The Query src sends data via a link to smart browsers, and smart data viwers.
The smart data viewer has a smart link of table IO to update the data in the query src.
A Smart toolbar (ADM2) / Smart panel (ADM(1)), is used to control the instances in the interface. EXCELLENT technology / methods, well done PSC. Progress for tomorrow - TODAY
 
Back
Top