We believe you should have no limit to the functionality you wish to develop on your website.
In most cases we have controls and functionality that you can immediately use to deliver on the requirements of your web project, whether it be a sitemap, an image gallery, or a forum. But sometimes the functionality you wish to offer may be entirely bespoke to your company.
If you are using our standard .NET model then we have a range of standard options available. If you are using another model such as PHP or JSP, you can quite literally do anything that you desire, as the templates used can include any code whatsoever that you choose.
We will look at the most common ASP.NET routes to start with.
.NET server controls or user controls
In the .NET world the most common approach to developing components is to use .NET server controls or user controls. Either method allows you to develop any functionality you desire within the bounds of managed .NET code, something we're sure your developers will love.
You might like to read these articles from MSDN on developing a simple ASP.NET server control and creating user controls.
The advantage of these controls is that you can develop them in a standalone development environment and deploy them into Contensis in a couple of simple steps. All you need do is copy the DLL assembly file to your Contensis solution and add a reference in the relevant template.
In essence you can write anything that you can write in .NET inside a Contensis published webpage.
Visual Studio integration
Writing .NET Server Controls requires a development environment such as Visual Studio. Contensis currently runs on the Microsoft .NET 4.0 framework. Visual Studio can be used to develop and debug anything on your Contensis-managed site.
Using Contensis API
You may decide to follow the standard mark-up that Contensis produce, inheriting from Contensis controls rather than inheriting from standard .NET Controls.
We provide training on achieving this as part of our standard developer training course.
If you use our controls and modules, you will have an API available which gives you access to certain information about the page. For example, if you want to personalise the homepage, you may choose to check the group assignment of a particular user. This can be done in a single line of code with ease using the API.
If you just want to add a snippet or two of code to the template, you can use custom code. You don't have to be a .NET expert to do this, and there are plenty of examples on our support site. Each placeholder has its own events, so you can hook up to any of these and execute code at runtime if required.
If you just want to include some HTML or a particular piece of script directly into a page without Contensis changing it in any way, you can use include files.
Include files are used heavily when deploying to other environments such as PHP-driven sites. For example, we have an include file for PHP that produces a replica of the Simple Menu XML control.