Uniface layers
Author: roger.wallin@abilita.fi (rogerw)
Hi, today it should be almost evident that the Uniface development-product should "encourage" the developer to use a distinct DataAccessLayer (DAL) and BusinessLogicLayer (BL). As you need different kind of UI:s there should be a natural distinct border between the UI and the BL, encouraged by the development tool. DAL: (DataAccessLayer only accessible from BL) DAL.MYTABLE.RETRIEVE(....) DAL.MYTABLE.STORE(...) DAL.MYTABLE2.RETRIEVE(...) DAL.MYTABLE2.STORE(...) BL: (BusinessLayer) BL.MYTABLE.RETRIEVE(...) BL.MYTABLE.STORE(...) BL.MYTABLE.OTHER(...) BL.MYTABLE2.RETRIEVE(...) BL.MYTABLE2.STORE(...) BL.SERVICE1.COMBINEMYTAb1ANDMYTAB2(...) BL.SERVICE2.SOMEBUSINESSLOGIC(...) BL.STOREMYXML(...) BL.BUILDMYXML(...) Uniface UI or Other UI: DeviceResponsive, Desktop, Web, Mobile You usually publish the DAL, BL and UI in the same place on the same PC or Server. However the distinction between BL and UI should be really clear and distinct. The distinction is clear enough when it also is possible to publish the BL as an open API, eg. as a RestService-API or WebService-API. Do you use Uniface in this way? Should there be more discussions about this and moving towards this kind of developing, encouraged by Uniface? Regards RogerW.




