< Magazine />


Devproof Portal 1.1.1 released

Monday, March 28, 2011 by Carsten Hufe   Tags:  devproof   portal   release 

We would like to announce the latest release of Devproof Portal. Devproof Portal 1.1.1 has got these changes:

Features

  • Cleanup job for unconfirmed users (gets automatically deleted after 14 days)
  • Global mount url management page
  • Mount URLs for bookmarks
  • Mount URLs for downloads
  • Attach errors to form fields for a better usability
  • Some layout issues

Technical changes

  • Upgrade to JQuery 1.5.1
  • Page refresh errors on delete for Blog, Download, Bookmarks, Articles and Theme Management
  • Set print pages to noindex
  • Session timeout reduced to 9 minutes, but added a keep alive script which refreshes every 4 minutes
  • Upgrade to Gradle 1.0-milestone1

 

Project page: Devproof Portal

Getting started: Devproof Portal with Tomcat 7

Have a lot of fun with it.

Devproof Portal 1.1.0 released

Saturday, February 19, 2011 by Carsten Hufe   Tags:  devproof   portal   release 

We would like to announce the latest release of Devproof Portal. Devproof Portal 1.1.0 has got a lot of new features:

Features

  • Better layout
  • Content historization for other pages, articles and blog entries
  • Define your own URLs for other pages, articles and blog entries
  • Login and registration links on top, so that you don't have to use boxes
  • Custom styles for boxes are possible

Technical changes

  • No HSQLDB support anymore, switched to H2 database (it can handle MySql DML scripts)
  • Spring Configuration with Annotations @Autowired etc
  • Clean transaction border, dont make transactions over a whole request anymore
  • Upgraded to Tomcat 7
  • HibernateTemplate and HibernateDaoSupport removed
  • Renamed DAO to Repository (e.g. EmailTemplateDao to EmailTemplateRepository)
  • Renamed GenericDao to CrudRepository
  • Maven to Gradle migrated
  • Mounting with Spring classpath scanning
  • MountHandler interface to implement own global mounting strategies
  • Own Spring namespace and tag to register a module and enabling scanning <devproof:module-scan/>
  • Enabled scan for the following annotations:
    • @GenericRepository annotation
    • @RegisterGenericDataProvider annotation for entities, to provide a generic dataprovider
    • @Secured annotation to provide security for Wicket components
    • @NavigationBox annotation to register a wicket panel as NavigationBox
    • @ModulePage annotation to mount a page and register as ModulePage
    • @Entity (from JPA) will be registered in SessionFactory
  • Updated Google Analytics deprecated script
  • Updated all framework versions
  • Some PortalTestUtil methods removed
  • Spring jdbc:embedded-datasource for unit tests
  • Unit tests with SrpingJUNit4TestRunner
  • Commented more classes and methods
  • Cleanup Spring Bootstrapping of Devproof modules
  • Sometimes not all modules are registering in Tomcat fixed
  • Removed jar files from Git repo and load over Maven Repo to bundle the Tomcat

 

Project page: Devproof Portal

Getting started: Devproof Portal with Tomcat 7

Have a lot of fun with it.

Planned features for the next Devproof Portal release

Friday, November 12, 2010 by Carsten Hufe   Tags:  devproof   portal 

There are a lot of new features for the next release of Devproof Portal.

  • Historization and versionizing for content, e.g. for blog and articles
  • More mountable urls for one article and make it changable
  • A lot of technical stuff:
    • Default spring transaction handling, no transaction per request anymore
    • Full spring annotation support
    • Better module scanning
    • Mount pages by annotation
    • Find generic repositories by annotation
    • An own spring namespace to define a new module
    • Switching from Maven to Gradle

Here are some samples:

Sample for a module definition in spring:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:devproof="http://www.devproof.org/schema/devproof/portal"
    xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
        http://www.devproof.org/schema/devproof/portal
        http://www.devproof.org/schema/devproof/portal-1.1.xsd">
    <!--
      This scans the Devproof components (pages, entities and generic repository) 
      and does the same as <context:component-scan/>
   -->
    <devproof:module-scan
            base-package="org.devproof.portal.module.blog"
            module-name="Blog"
            author="devproof - Carsten Hufe" author-url="http://devproof.org"
            module-version="1.0" portal-version="1.0"/>
</beans>

Sample for a generic repository definition:

@GenericRepository("blogRepository")
public interface BlogRepository extends CrudRepository<Blog, Integer> {
    
    @Query("select b.allRights from Blog b where b.modifiedAt = (select max(modifiedAt) from Blog)")
    List<Right> findLastSelectedRights();
}

Sample for mounting a page:

@ModulePage(mountPath = "/blog", registerMainNavigationLink = true, defaultStartPage = true)
public class BlogPage extends BlogBasePage {
 // some code
}

The next release takes a bit more time. Hope you will enjoy the changes.

Release: Final Release 1.0.0 is out

Saturday, July 17, 2010 by Carsten Hufe   Tags:  devproof   portal   release 

The final release 1.0.0 of Devproof Portal is now available. Here is a short overview of the changes:

  • Final Release, no critical changes
  • Several exception fixes
  • Enable caching statistics by default
  • pom.xml cleanup, removed the redundant stuff
  • Tomcat version updated to 6.0.28

Getting started: Devproof Portal with Tomcat 6

Overview: Devproof Portal

Enjoy the final release smiley

Moved the source code to Github

The source code of Devproof Portal is now available on Github. Some weeks ago I decided to move the source code to a distributed revision control system. There were to candidates: Git and Mercurial.  I decided in favour of Git, because I only know people who are using Git. It seems to be more popular than Mercurial (see Google Trends and compare Github with BitBucket). Furthermore Git is faster and more flexible.

Please visit Devproof on Github

# Create a clone from Github
git clone git://github.com/devproof/portal.git devproof

If you like, you can fork the project.

For the hardcore SVN users, you can still use it:

# Checkout from SVN
svn checkout https://svn.github.com/devproof/portal/ devproof

The source code from Google Code SVN has been removed, but the Google Code Project Page (incl. Bug Tracker, Downloads etc.) is still active!

 

© 2009-2011 - www.devproof.org