Clean tiles
refactors the simple tiles example to more clean tiles

In the previous tutorial we made a one-on-one translations of the content parts to tiles. This generated a lot of very small tiles ,*/title.tile, and lot of folders like

  • Home/Index
  • Home/About
  • Account/ChangePassword
  • Account/Logon
  • ...
We will deal with these changes in this tutorial

Highlights

First we will refactor the Home/Index/title.tile out. We will move the content of this file

Home Page

to the tiles.xml

<?xml version="1.0" encoding="utf-16"?>
<tiles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <definitions>
  ...

  <tile name="Home.Index" extends="Default.Page.Layout">
  <attribute name="title" type="String" value="Home Page"/>
  <attribute name="body" value="Views.Home.Index.body.tile"/>
  </tile>
  ...

 </definitions>
</tiles>

Having one file in a folder makes no sence. So we can move/rename the fiel Home/Index/body.tile to Home/Index.tile. This results in the following change in tiles.xml

<?xml version="1.0" encoding="utf-16"?>
<tiles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <definitions>
  ...

  <tile name="Home.Index" extends="Default.Page.Layout">
  <attribute name="title" type="String" value="Home Page"/>
  <attribute name="body" value="Views.Home.Index.tile"/>
  </tile>
  ...

 </definitions>
</tiles>

The rest is more of the same. See the project for end result.

Contact form fixed

I regret reporting that the contact form was broken for the last week. All mails send to us were corrupted(empty). So reported bugs in the last week are not received. I'm aware that the timing with regards to the monorail release isn't very handy. The contact form is fixed now. I apologize.

4 February, 2010

Monorail released M5

Monorail is released. The release also contains some minor fixes.

23 January, 2010

Monorail almost finished

Maikel Willemse is coding a Monorail view engine. It's available in the nightly release. A tutorial and a new release will be available shortly.

2 January, 2010

No more tiles.xml
(if you like)

A NSTL view engine is now available. You can do SharpTiles without having a tiles.xml. You will lose the power of dependency injection. If you are interested check out the tutorial page.

21 July, 2009

Developer M3 released

Fixed a couple of parse bugs. Cleaned up refreshing of resources, resource locations and registration of the TilesViewEngine. Wrote some tutorials
Ronald Dehuysser contributed the <tiles:insertTemplate/> and <tiles:putAttribute/> tag.

8 June, 2009

HtmlHelper wrapped II

Updated tag reference documentation.

5 April, 2009

Ready for MVC RC 2

SharpTiles is now ready to use with MVC RC 2.

6 March, 2009

HtmlHelper wrapped

The MVC HtmlHelper is now wrapped and can be used. For it's only available in the nightly build. When the documentation and new Tutorials are made a new release will be made.

22 December, 2008

Ready for Beta 1

SharpTiles is now ready to use with MVC Beta 1. The tutorial page will be updated soon.

3 November, 2008

We've got Tiles

It took me a bit longer than expected but Milestone 1 is reached. Tiles are now available.

23 July, 2008

First release

Finally, after some hard work my pet project is ready for its initial release. Here it is! Please give it some thoughts and feel free to add comments.

23 May, 2008

SID: PopUp 0