| By SB Gogia, Amal Sharma, Bhaskar Azad, Rohit Tyagi | Article Rating: |
|
| August 8, 2008 06:00 PM EDT | Reads: |
1,996 |
Most new users of PowerBuilder start with SQL Anywhere as the back-end database engine (formerly Adaptive Server Anywhere or ASA, and before that Watcom). With growth, a need to shift and adapt to a wider database platform is thrust on developers by customers. A recent exercise in this regard, besides re-emphasizing our past amateurishness, has also helped us make a clean, lean application. This article, besides providing insights on how to avoid basic mistakes, also has a few tips for our experienced colleagues on how to do some spring cleaning of established applications.
Background
Our application development started as a hobby without any formal training (see About the Authors); so our application-making approach was based on intuition. We found PowerBuilder to be the most suitable platform for our data- and report-centric needs. It was natural to use Watcom and later ASA 5 to create the database. By the time we had a real workable application ready (around two years for our own use, and six years for commercial use), the database structure created, though faulty as per the norms followed by other RDBMSs, was working well. A system analyst friend had given us ERwin case tools and some initial insight on normalization, etc.
The demand for Adaptive Server Enterprise (ASE) first arose in 2005. A previous attempt to shift to SQL Server met with partial success but wasn't completed. A similar exercise has been documented by Timothy Beck ("To Convert or Not to Convert ASA to MSSQL" http://pbdj.sys-con.com/read/42622.htm). With ASE and SQL Server sharing the same birthright, the processes involved were largely similar.
However, we do have many new insights to share over and above those mentioned in the previous article. To avoid redundancy, most of the database transfer issues already mentioned will be kept out of the discussion. So this article should be seen as an addendum to the above.
Our Application
We have 19 PBLs, 150 tables, over 1,200 objects and DataWindows including those specially made for use as DropDownDataWindows (DDDWs). We do not use PFC. Most of the initial objects were made from scratch or through the samples on the CD provided along with books on PowerBuilder. Stored procedures and triggers are used minimally and managed at the application level through the direct SQL Syntax in PowerBuilder. We feel that a good application should have a high percentage of these as they help keep data consistent and help in making the application perform better. All database-intensive tasks should be done using stored procedures.
Published August 8, 2008 Reads 1,996
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By SB Gogia
SB Gogia is a plastic surgeon in New Delhi. He has contributed to the software development efforts of his family-owned company - AMLA MEDIQUIP. Gogia has worked mostly with SQL and PowerBuilder, although he has dabbled in JavaScript, C++, VB and more.
More Stories By Amal Sharma
Amal Sharma is a PowerBuilder developer with 10 years of experience. Both Amal and SB Gogia started working formally as a team in 2005.
More Stories By Bhaskar Azad
Bhaskar Azad is a medical doctor doing post-graduate work at the School of Medical Science and Technology at IIT, Kharagapur. He did a short internship with Amla Mediquip.
More Stories By Rohit Tyagi
Rohit Tyagi is a medical doctor doing post-graduate work at the School of Medical Science and Technology at IIT, Kharagapur. He did a short internship with Amla Mediquip.
- Why SOA Needs Cloud Computing - Part 1
- The Cloud Transition: What Does It Mean For You?
- Seeding The Cloud: The Future of Data Management
- Cloud Expo and the End of Tech Recession
- Economy Drives Adoption of Virtual Lab Technology
- Sybase Named “Silver Sponsor” of iPhone Developer Summit
- The Cloud Has Cross-Border Ambitions
- Ulitzer Named "New Media" Partner of Greatly Anticipated iStrategy Event in Berlin
- Risks and Enterprise Mobility?
- Steps for Success in Enterprise Mobility?
- Are Mobile Luddites Resisting Mobility?
- Hot Event in Santa Clara Becomes Cool with the iPhone
- The Difference Between Web Hosting and Cloud Computing
- Sybase CTO to Speak at 4th International Cloud Computing Expo
- Why SOA Needs Cloud Computing - Part 1
- The Cloud Transition: What Does It Mean For You?
- Five Reasons to Choose a Private Cloud
- The Threat Behind the Firewall
- Seeding The Cloud: The Future of Data Management
- Cloud Expo and the End of Tech Recession
- Tips for Efficient PaaS Application Design
- Economy Drives Adoption of Virtual Lab Technology
- Using the Microsoft Chart Controls in PowerBuilder
- Sybase Named “Silver Sponsor” of iPhone Developer Summit
- Where Are RIA Technologies Headed in 2008?
- PowerBuilder History - How Did It Evolve?
- The Top 250 Players in the Cloud Computing Ecosystem
- Custom Common Dialogs Using SetWindowsHookEx
- DDDW Tips and Tricks
- OLE - Extending the Capabilities of PowerBuilder
- DataWindow.NET How To: Data Entry Form
- Book Excerpt: Sybase Adaptive Server Anywhere
- Sybase ASE 12.5 Performance and Tuning
- Working with SOA & Web Services in PowerBuilder
- Office 2003 Toolbar: A New Look For Your Old PowerBuilder App
- Dynamically Creating DataWindow Objects



























