LOGIC Library

This site is the Logic involvement in sharing expertise and skills acquired in daily work. The goal is to create a solid knowledge base and share best practices in software development and systems management.

More info about us can be found on logicsistemi.it.

Joomla! 2.5 user plugin: adding validation

In a previous post we have learned how to extend users' data with custom fields during a Joomla! user registration. In the example we have left the new fields without any validation.

In this post we will add 3 types of validation to the new fields: client side validation, server side validation and a complex server side validation.

To undestand every passage of this post I suggest you to read the Joomla! form validation tutorial and the last part of the Joomla! MVC component tutorial. They both have information about validation we will use in this example.

jQuery UI Datepicker calendar in ASP.NET MVC

jQuery UI Datepicker is a widget that allows you to select a date from a popup or inline calendar (as the official page says). In this article, we look at how to use it in an ASP.NET MVC page view, focusing to localization issues, too.

A potentially dangerous Request.Form value was detected from the client

In ASP.NET, we could encounter the following error: A potentially dangerous Request.Form value was detected from the client. In this article, we understand what it exactly means and how to solve it.

ASP.NET MVC 4 tutorial for web developers - part 7

In the last post we create a List of users retrieved from the database.

It's now time to display this list in a view and complete the first part of this tutorial: displaying database data.

ASP.NET MVC 4 tutorial for web developers - part 6

It's time to start coding! In this post we will create a new controller and an index view, exploring how Visual Studio helps us to create new objects.

The combination of this elements will be used to display a list of user taken from a MDF database. This will be done by using simple ADO.Net functions and not the Microsoft Entity Framework that we will introduce later.

ASP.NET MVC 4 tutorial for web developers - part 5

The Razor view engine is one of the most important improvement introduced in the MVC 3 framework. This engine allows the creation of views with a code that strictly resemble the PHP way of doing that.

But Razor do something more than PHP: it's also something similar to a template engine.

Page 2 of 10