Tangere.Hello Orchard Module

by admin 17. February 2012 20:58

1. Enable App

Before the new can be executed the first time the Tangere.App module needs to be installed and the  Tangere.Hello module needs to be enabled in Dashboard –> Modules:

2012-02-17_1028

2. Test your App

The default App Url is http://<orchard url>/App/<app name> so the full App Url is e.g.

http://localhost:30320/OrchardLocal/App/tangere.hello/

2012-02-17_1042

 

Step by step instructions HOWTO: Build your first Tangere App are published here.

HOWTO: Build your first Tangere App

by admin 17. February 2012 20:54

Starting with Version 0.3 Tangere Apps can now also be Orchard Modules. In the following you’ll find all required steps to build your own Tangere App Orchard Module.

1. Generate a new module in Orchard

Use the following Orchard code generation command to add new Tangere.Hello module to your solution:

orchard> codegen module Tangere.Hello /IncludeInSolution:true 
Creating module Tangere.Hello Module 
Tangere.Hello created successfully


(see  Command line scaffolding and  Writing a content part for an introduction into code generation)

 

2. Modify Module Manifest

Add a dependency on the Tangere.App module in the module manifest file Module.txt:

Dependencies: Tangere.App


3. Add the App folder

Add an App folder with the following files:

2012-02-17_1015

 

4. Enable App

Before the new can be executed the first time the Tangere.App module needs to be installed and the  Tangere.Hello module needs to be enabled in Dashboard –> Modules:

2012-02-17_1028

5. Test your App

The default App Url is http://<orchard url>/App/<app name> so the full App Url is e.g.

http://localhost:30320/OrchardLocal/App/tangere.hello/

2012-02-17_1042

 

The finished App can also be downloaded from the Orchard Gallery.

Tangere.App Orchard Module

by admin 16. February 2012 18:21

The Tangere.App Orchard Module can be downloaded from the Orchard Gallery.

After the Module is installed the new “adenin Tangere.Net App Server”  feature needs to be enabled:

2012-02-17_0803

The features adds the following configuration settings to Dashboard –> Settings:

2012-02-17_0801

Tangere.Net Version 0.3 - Orchard Integration

by Admin 16. February 2012 12:41

While developing the first version of the Gatekeeper for Version 0.2 it became obvious that just plain MVC for backend development won’t be a solid foundation for the future.

After some brain storming we defined the following minimum requirements for a flexible backend architecture:

  1. Modularity
  2. Pluggable User & Permission Management
  3. Multilingual

I think Options 2. and 3. are quite obvious, but Modularity is just the headline for a bunch of requirements:

  1. Each App should be a self contained, downloadable and installable “Module”.
  2. An App might depend on one or more others Apps/Modules.
  3. It should be possible to release/update a single App.
  4. Each backend component should be pluggable/replaceable.
  5. The framework should support multiple database systems and generate all required tables.

Our first idea was that we need to develop the basic backend infrastructure on our own. But somebody remembered Orchard – which seems to be just an ugly CMS or Blog at first sight. But after some analysis we discovered that Orchard is a surprisingly well-thought-out web framework.

Orchard is also a CMS – but we currently don’t use or need the CMS part. But we’re using the following Orchard features:

  • Dependency Injection
  • Module/Feature Management
  • Database Migrations
  • Transactions
  • Site Settings
  • Users and Roles
  • Permissions
  • Localization
  • Logging

Tags: ,

Blog