Template Libraries

by john 8/29/2007 9:31:00 AM

Highlander has a number of "Template Libraries" that make creating basic websites straight forward and easy.

This can be seen in screen shot below 

 

 The CSS Layouts are templates that let you create css based master-page projects giving you a particular look and feel.

 

For example this is a content page for the Menu Fixed, Content and  Header Dynamic master page.

 

 

Not only are you able to use these in your projects but you can add your own templates.

For example most sites need some kind of password protection, pages to login, change your password and account creation. The Login controls in ASP.Net  and the [CodeGear] membership and role providers make a great starting point. Rather than having to throw together the controls, and remembering what control properties have to be set, wouldn't it be a good idea to instead go "File, New Website." ?

Adding a new template is really easy and the steps are as follows:- 

  • Create the project
  • Create the project template definition
  • Register with the IDE

I created a web application with a login page, change password and account creation page. I also configured web.config to use the membership and role providers. The template definition file is an xml file with the extension bdstemplatelib. Mine looks like

<TemplateLibrary version="1.0" id="Membership">
 <Name>Membership</Name>
<Description>Membership Starter Application</Description>
 <Items>
  <Item id="Membership" creator="AspDelphiProjectRepositoryCreator">
     <Name>Membership Starter Application</Name>
     <Description></Description>
     
<ProjectFile>Membership.dproj</ProjectFile>
     <DefaultProjectName>Membership</DefaultProjectName>
     <FilePath>projects\Membership</FilePath>
     <Categories>
      <Category value="ASP.Net 2.0" parent="Borland.Delphi.NET.New">ASP.Net 2.0</Category>
     </Categories>
   </Item>
 </Items>
</TemplateLibrary>
 

The project is located in a directory relative to the location of the template file. Template registration is performed using the template libraries menu option from the tools menu. The dialog looks like this

 
 Once registered, anytime I need a starter web application with membership support, its just "File New Membership web application"

 

 

 And this is the membership starter application in the IDE ready to go

 

 

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

CodeGear | ASP.Net 2.0 | Providers | Delphi | Highlander | Betablogger

Blackfish SQL

by john 8/28/2007 7:36:00 AM

Blackfish SQL is a new database from [CodeGear], written totally in managed code. It comes in 2 flavors, local and remote. The local version runs in process, so it makes for really easy deployment. For ASP.Net applications you just deploy the Blackfish assemblies and stick your database file in the App_Data directory.

For a dotnet developer writing stored procedures can be a bit of a problem, this is not the case with Blackfish since you can develop them in your dotnet language of choice, In my case thats Delphi. In the screen shot below I am in the debugger stepping through a stored procedure. I think this is extremely cool...

 
 

Currently rated 1.0 by 2 people

  • Currently 1/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Betablogger | Highlander | CodeGear | Delphi | Blackfish | ASP.Net 2.0

Powered by BlogEngine.NET 1.3.0.0
Theme by Mads Kristensen

About the author

Name of author John Moshakis
I'm a software developer living in Toronto..

E-mail me Send mail

Calendar

<<  September 2017  >>
MoTuWeThFrSaSu
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

View posts in large calendar

Pages

    Recent posts

    Recent comments

    Authors

    Tags

    Don't show

      Disclaimer

      The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

      © Copyright 2017

      Sign in