Solved

Design descission - to ASTA or not to ASTA

Posted on 2004-10-25
333 Views
Last Modified: 2010-08-05
Guys (and girls),

I need your help making a design descission about a project we are about to embark on. We are going to write a database driven application for one of our clients and someone recommended using ASTA as a framework for the implementation. Now, from what I can see ASTA gives you some nice features (like auto updating the client, business logic on the server, auto sql generation for inserts/updates/deletes etc.). But there are also some drawbacks (another layer of code to implement, may be less efficient than doing your own code, sql generation may not be powerful enough for what we need to do anyway, client needs to run ASTA server (and buy licenses...)).

What are your experiences with the ASTA framework. Good or Bad? Easy to use/implement? Any big drawbacks/pitfalls? Any alternative technologies that are better?

Looking forward to your input...

Best regards,
Marius


0
Question by:BarCode99
    5 Comments
     
    LVL 6

    Accepted Solution

    by:
    Have used Asta for a couple of projects.  Real question as to whether you should use Asta, or another framework such as RemObjects, or no framework at all depends on what you are trying to accomplish.

    Asta buys you a real advantage if you want to implement mid-tiier logic.

    Asta provides a fairly straightforward and easily written means to write mid-tier logic. If you don't plan on this, then you probably should not use Asta unless one of these benefits is important to you: 1) Security by not having to expose a native database connection, 2) licensing costs, Asta can be much cheaper than deploying a lot of ODBC licenses, etc. 3) performance -- Asta excels on low-bandwidth client connections, 4) pseudo Peer to peer message (via the central server), 5) Firewall bypass via http tunneling, 6) database portability by encapsulating database access in mid-tier server.

    The real advantage to Asta is support for mid-tier logic. Asta is not a particularly object-oriented middleware (such as RemObjects), but it is solid and I've always found their support to be good. Pricing is cheap in some ways, but may be expensive for your application.

    With regard to your comments:

    auto/updating of client -- though this works, it is fairly simplistic and easy to implement on your own.
    bus. logic on server -- THE reason for Asta
    auto SQL generation -- mostly user for client side clientdataset -- makes it easy to write client side code without having to write Astq code on the server as well.
    another layer -- true, but the Asta layer is easy to code for and buys some nice advantages, particularly with respect to threading and marshalling
    sql gen. not powerful enough -- when this is true, you will be writing a customer business method anyway, so it is a moot point.
    client (program) does not need Asta license, licensing is per asta server and developer.

    Alternates: I mentionded RemObjects, and there are some cheap/free alternatives as well. As far as I am concered, Asta and RemObjects are the leading Delphi middleware. Each has its strong points. You should probably evaluate  both of them yourself.

    The other alternative you should pehaps consider is a non-delphi middleware sollution. Delphi/Win32 is slowly moving to extinction with .Net or J2EE (or other middleware) being the longer term solution.
    0
     

    Author Comment

    by:BarCode99
    gwalkeriq,

    Thanks for your comments. You are right in saying that the only real advantage is if you implement midle-tiier logic, and I'm not really sure we even need to (Application to be deployed within one company at one location, so no bandwith concerns and no Internet security issues). I will take a look at RemObjects and discuss further with my coleauges.

    I'll keep to question open for now in case anybody else wants to add anything, but I think you have covered it pretty well.

    BRgds,
    Marius
    0
     
    LVL 6

    Expert Comment

    by:gwalkeriq
    As I was pretty clear, this is not the only advantage of Asta, but it is the most compelling one (as is also the case with RemObjects). Why was Asta recommended in the first place?
    0
     

    Author Comment

    by:BarCode99
    A new developer recently joined our team and he has had very good experiences with ASTA for similar (but less complex) projects...

    Thanks for your input. The points are yours. We don't have to make any descision for another two weeks, so I think we will continue the discussion inhouse.

    BRgds,
    Marius

    0
     
    LVL 14

    Expert Comment

    by:DragonSlayer
    Check out also the Midware components from F Piette http://www.overbyte.be/frame_index.html ... it's freeware
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
    In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    Want to pick and choose which updates you receive? Feel free to check out this quick video on how to manage your email notifications.

    884 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now