Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Design descission - to ASTA or not to ASTA

Posted on 2004-10-25
Medium Priority
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,

Question by:BarCode99
  • 2
  • 2

Accepted Solution

gwalkeriq earned 500 total points
ID: 12403861
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.

Author Comment

ID: 12408830

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.


Expert Comment

ID: 12411040
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?

Author Comment

ID: 12411163
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.


LVL 14

Expert Comment

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

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Suggested Courses
Course of the Month10 days, 10 hours left to enroll

572 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