Juha Palomäki

Blog entries in the Web development category

  1. Change SQL Server Express authentication mode

    When you install SQL Server Express you can select the authentication mode. If you want to enable SQL Server authentication mode (username and password) later on, you can use T-SQL to do it:

    ALTER LOGIN sa ENABLE;
    GO
    ALTER LOGIN sa WITH PASSWORD = '<strong password>';
    GO
    
  2. Orbeon forms processsor for extracting locale from request

    A simple processor for Orbeon forms that extracts locale information from request.

    package fi.iki.juhap.xpl;
    
    import java.util.Locale;
    
    import org.dom4j.Document;
    import org.dom4j.DocumentHelper;
    import org.dom4j.Element;
    import org.orbeon.oxf.pipeline.api.ExternalContext;
    import org.orbeon.oxf.pipeline.api.PipelineContext;
    import org.orbeon …
  3. Using git to deploy new versions

    Simple instructions for setting up git so that you can push new versions to server from the comfort of your workstation. This is based on article by Abhijit Menon-Sen. If you need more details, take a look at that.

    This will create the home directory for the project underneath /var …

  4. Apache reverse proxy on Ubuntu

    Install Apache and Enable relevant Apache proxy modules

    sudo apt-get install apache2
    sudo a2enmod proxy proxy_http
    

    Create new configuration file for the virtual host in /etc/apache2/sites-available.

    Link the created configuration file to sites-enabled. The numbers in target name are there to guarantee the files get loaded in …

  5. Theory of (web framework) evolution

    A look at the history of web frameworks and my views on where we are heading.
    1G
    It all started with cgi-bin applications that really did not separate the templating from rest of the logic.
    1.5G
    It is little bit difficult to say if the simple scripting based approach …
  6. Stretching band in Jasper

    Making a band stretch according to the height of its contents is simple. First you need to have some content that is stretching, for example a text field with "stretch with overflow" property set to true.

    For the band you need to set "split type" to stretch. Also make sure …

Juha Palomäki
Projects
Categories