.Net AppGen release

Download instructions are going out today for the initial release of the .Net AppGen.  We have two new newsgroups setup;

For questions on writing T4 templates
sv.clarion.T4.WritingTemplates

For questions on using the T4 templates
sv.clarion.T4.TemplateHelp

We’ll make a decision on whether to host the T4 template project on our Subversion server or on Codeplex next week.

Here is an excerpt from the “getting started” document that’s included in the download:

.NET offers many choices for application architecture; from placing the data access code directly in the
UI through datasets and data source controls, to creating a data access layer that talks to the database,
and using an n-tier architecture approach that consists of multiple layers and objects to pass data back
and forth.

While embedding data access and business rule code directly into the UI is generally easier, in some
cases it’s not the best approach for a given project.

.NET supplies a data control structure called the ObjectDataSource which gives us the possibility to use a
3 tier design model. It supports an architecture whereby all Sql commands are embedded into a middle
tier. You only have to supply the underlying object and map the methods from the Business Layer to the
different Sql commands.  And while I am talking about Sql and ADO.Net right now, take a look at the
image below.  The data access layer can (and soon will) support using the Clarion Driver technology;
both direct drivers and thru the IP driver, as well as other access approaches like using a webservice.

n-tier with ObjectDataSource

In this initial release of the .Net AppGen the templates for both Web and WinForm make use of the
same 3 tier architecture using the ObjectDataSource. This first release supports ADO.Net for the data
access, and our next update will utilize the same 3-tier architecture; but the data access layer uses
Clarion drivers and our LinqToFile provider.

We realize that this release can be a bit of a leap – moving from the ABC data access layer or direct
driver use in the Clarion chain to a 3-tier architecture model means there is a bit to learn.  But it’s well
worth exploring it, even if after the fact you choose to keep your development closer to our Win32
model (we intend to support that as well). The same n-tier architecture model will be implemented in
future templates to support using other object-relational mapping frameworks; like Microsoft’s Entity
Framework and nHibernate.

If you follow along with the steps below (for either Web app or WinForm) you’ll end up with a
“Enterprise architecture” style 3-tier app, and possibly find that you like it. Most of the problems that
you will run into come in 2 flavors; ADO.Net connection strings that refuse to connect but return no
errors (usually a backend config issue), and for web apps; IIS configuration issues. Hopefully your trip will
avoid them but don’t be surprised if you have to battle configuration issues.
3 tier Application

We’ll create two projects for our web application.  We’ll first create the Model application; this will
create a reusable assembly (DLL) that defines and contains all of our data access objects to be used in
our Web Application.

………………………..

For the rest of the story refer to the GettingStartedWithT4templates.pdf in the download!

 

New build this weekend

The install team detected a few problems after separating the Win32 and .Net IDE components, and that coupled with a change to the compiled  .tt template path info delayed today’s release – but we’ll be working over the weekend until it “ships”.  Sorry for the delay!

.Net AppGen presentation

We’ll be on Clarion Live! on November 30 at 9-11am (Pacific Time) doing a .Net AppGen presentation, and again on December 16th to pickup wherever we leave off (plus to answer any questions),

Topics for 11/30

An Introduction to AppGen.Net – covering the .Net template registry, WinForm app and WebForm Wizard and code generation, the object datasource data access layer shared by winform/webform, working in AppGen using the current templates both Winform and Webform, writing, editing and debugging the .Net T4 templates and (time permitting) using Subversion to get updates. (presenters: Robert, Diego and Pierre)

And don’t worry if you can’t be there for the live webinar, the presentation is recorded and usually available within 24 hours.  A new Clarion.Net release (with the new .Net AppGen) will be available the same day after the webinar or the day after.

Updates still coming

While the stand-alone ReportWriter is out and available now, we delayed the C8 release to review a report from a dev who had a pre-release and reported a potential problem with some aspects of swapping Reports from/to Landscape mode. We’re also holding onto the AppGen.Net release to finesse a wrinkle with ASP.Net web project files and creation of the IIS virtual dir. We’re working this weekend with the hope and expectation that both releases can go out in the beginning of the next week. Sorry from all of us!

Veterans Day

Today is the eleventh day of the eleventh month of the eleventh year, and in the U.S., where I live, it is Veterans Day. It’s a day to honor all those who have served our country. Whether they saw combat, or served during times of peace, all who have worn the uniform of any of the five branches of the U.S. Military, are heroes and we salute them.

Report Writer, Clarion.Net and C8

We have a busy week coming up next week. The end-user version of Report Writer will be officially available for purchase, we have a new release of C8 scheduled, and we’ll do the first release of the .Net AppGen. This weekend we’ll setup the SVN repository for the .Net templates and next week we’ll push out a new Clarion.Net install with the .Net AppGen. We plan to do a video tutorial for template writers and the following week, after folks have had a chance to get their feet wet, we’ll do a webinar to answer template writing questions, and questions on using the templates.

Clarion 8 is gold!

Clarion 8 gold shipped out on August 29th, and we want to thank all of our users who helped us get here. Version 8 has over 90 new features and improvements, about 100 changes/optimizations, and over 350 bug fixes. And as of today you should have received notifications with download links for the version 8 add-on drivers.

During the early-release phase we worked closely with a few Clarion developers who were in the process of deploying applications based on version 8 into the field. Robert Paresi of InnQuest had one of the largest deployments, and as of about a week ago had successfully deployed his roomMaster application, based on the Clarion RTL version 8, to about 1900 sites (most sites have multiple workstations). His successful deployment (after a few tweaks to the RTL), helped us close down version 8 with a lot of confidence, thanks Robert!

Looking forward to seeing some of you at the CIDC conference in just a short few weeks! We’ll be posting here each day of the conference making sure you get the latest information even if you can’t attend.

We still get asked about subscription renewals; if you purchased your CSP twelve months or more ago, then you are up for renewal. So if you haven’t already done so, you should jump over to the web site and renew your subscription today.

Update on the Developer’s conference

Its official, the developer conference location has been changed to Orlando, and the dates have
been finalized:  September 26th – October 1st 2011

John Hickey and Arnold Young, hosts of ClarionLive organized a great conference last year in Denver.
This year SoftVelocity is working with them to make the Orlando conference an even better event.
I’ll be there along with Diego Borojovich and Pierre Tremblay. We’ll be doing the morning session
at the start of each day talking about Clarion 8 and Clarion.Net, integrating Clarion.Net code into your
Win32 app, and creating web and mobile applications.  The rest of the day will be filled with sessions
presented by well-known Clarion developers; Mike Hanson, Rick Martin, Bruce Johnson, Andy Wilton, and Dave Harms.

You can read more about the event and register to attend at CIDC 2011

This is sure to be a great event where you’ll have the opportunity to learn a lot!