Tarik Makota

Subscribe to Tarik Makota: eMailAlertsEmail Alerts
Get Tarik Makota: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Tarik Makota

In the last issue of PBDJ (Vol. 8, issue 4) we prepared the ground for our JSP-JaguarCTS-PB bridge. In this article we code our n_hepekpbdj component and deploy it to JaguarCTS. This component will be capable of handling an HTML String or ResultSet. We then create a JSP page that calls this component, then list some of the possibilities for a JSP-Jaguar-CTS-PB bridge based on our experiences in building one for our Hepek Dual Architecture Framework. Coding n_hepekpbdj Last time we created an n_hepekpbdj component using the Jaguar Component Wizard; now it's time to create functionality. Open your hepekpbdj.pbl and start editing n_hepekpbdj, but first we need to add the following instance variables: Protected ErrorLogging i_ErrorLogging // Note: the datastore must be private in order to pass Jaguar validation Private datastore ids_data Add the code from Listing 1 to act... (more)

Maintaining A Treeview Display Using Recursion

When I took a class on data structures with C++ at Brooklyn College, one of the topics emphasized was recursion. At first it didn't make much sense, and I wondered why we even bothered when other techniques were more understandable. Recursion is an extremely abstract concept, and most people have a hard time visualizing the notion, let alone writing the recursive functions. The Towers of Hanoi and the Fibonacci sequence are the most common examples used to explain recursion, and their connection to the work environment isn't readily apparent. Fortunately, I grasped the theory - ... (more)

Building A JSP-JaguarCTS-PowerBuilder Bridge

This article demonstrates how to use JavaServer Pages (JSP) to manipulate PowerBuilder DataWindows. We'll create a Jaguar- CTS component in PowerBuilder and call it from JSP. Using techniques from our Hepek Dual Architecture Framework, we'll show how to Web-enable your existing DataWindows in a matter of minutes. We'll also visit a few technologies appropriate to this article and introduce each to the extent needed. We'll briefly go over Tomcat and the JSP container/engine, along with the associated setup. Once we've completed a fairly simple example, we'll introduce our Hepek D... (more)

ShareData In A Dual-Architecture Framework

In our previous article in PBDJ (Vol. 8, issue 1), we discussed the benefits of dual-architecture frameworks (DAF). Using our own Hepek DAF we outlined what DAFs should be able to do. In this issue we'll show you how to create a ShareData service that works under both client/server and n-tier architectures. The ShareData service is fully implemented in Hepek DAF, which the code presented here is from. You can download the code (Listings 1-8) on the PBDJ Web site at www.PowerBuilderJournal.com. You should be able to adopt it for your own use without encountering any problems. Su... (more)

Dual Architecture Frameworks

With the recent fuel shortage we've seen a price increase here in the U.S. as well as around the world. In addition, we have different types of fuel with different price tags. The price of diesel fuel, which is the cheapest, didn't increase as much as premium did. Every time I go to the gas station with my V-8 gas sucker, which uses premium, I wish I could pump diesel instead. Well, that's not how cars work. Even though I paid a lot of money for my car, I don't have the ability to switch between diesel and premium. It would be a great option though. Is that too much to ask? If you... (more)