web

A web is a silken structure created by a spider. [read more at http://en.wikipedia.org/wiki/Web]

  • A big thank to the team of www.cineteck-fr.com which has proposed me to migrate my homepage to a more powerful server,
    The switch has occured during the night from 23:00PM to 00:50AM, a big thank to  Raphael Emourgeon

    • Before: Dell SC1425
    • After:2 Go RAM ECC, Intel Xeon 3 Ghz, RAID 1 Hardware SCSI (Dell PowerEdge 2850).

    I highly recommend You to look at Cineteck if You plan to host a Joomla/Mambo site. Their prices are very interesting and their support top!

    Note:
    My site is also now available using HTTPS (SSL 3.0, RC4 with 128 bit encryption (High); RSA with 2048 bit exchange) a new setting only possible in  Plesk 7.5.4: Use a single directory for housing SSL and non-SSL content

  • apache_maven

    In this small post i will present you how to

    1. Track and identify across your Apache Maven multi project builds all components, their versions, and class path if needed
    2. Get valuable information from your testing team, and add it to the GUI of your web applications

    To solve the problem number 1, we will use Manifest files

    On the Java platform, a manifest file is a specific file contained within a JAR archive. It is used to define extension and package related data. It is a metadata file that contains name-value pairs organized in different sections. If a JAR file is intended to be used as an executable file, the manifest file specifies the main class of the application. The manifest file is named MANIFEST.MF. [Wikipedia]

    If you do nothing special in Maven., you will see across your jar files the following in all META-INF/MANIFEST.MF

    Manifest-Version: 1.0
    Archiver-Version: Plexus Archiver
    Created-By: Apache Maven

     

    The solution I propose here will write all these META-INF/MANIFEST.MF the following  content:

    Manifest-Version: 1.0
    Archiver-Version: Plexus Archiver
    Created-By: Apache Maven
    Built-By: agent1
    Build-Jdk: 1.6.0_20
    Specification-Title: Unnamed - com.waltercedric:web:war:1.0.0-SNAPSHOT
    Specification-Version: 1.0.0-SNAPSHOT
    Specification-Vendor: waltercedric
    Implementation-Title: Unnamed - com.waltercedric:web:war:1.0.0-SNAPSHOT
    Implementation-Version: 1.0.0-SNAPSHOT
    Implementation-Vendor-Id: com.waltercedric
    Implementation-Vendor: waltercedric
    buildDate: 2010.09.22-14:12
    svnrevision: 18625
    Class-Path: spring-ws-core-1.5.6.jar spring-aop-2.5.6.jar spring-
     web-2.5.6.jar spring-webmvc-2.5.6.jar spring-context-support-2.5.6.jar
    .. .. ..

     

  • When in apache maven you have multiple dependencies with the same artifact id but different group id 

    <dependency>
     <artifactId>any</artifactId>
     <groupId>groupId1</groupId>
     <version>1.1</version>
    </dependency>
    <dependency>
     <artifactId>any</artifactId>
     <groupId>groupId2</groupId>
     <version>1.2</version>
    </dependency>
    <dependency>
     <artifactId>any</artifactId>
     <groupId>groupId3</groupId>
     <version>1.3</version>
    </dependency>
    

    Apache maven war plugin is able to detect this case and will automatically add the groupId to resolve filename conflicts. If it would not do that the last one name any.jar would win

    So it'll look like this in WEB-INF/lib

    -rw------- 1 user grp  135851 Aug 24 12:21 grp1-any-1.1.jar 
    -rw------- 1 user grp 1406696 Sep 18 11:51 grp2-any-1.2.jar 
    -rw------- 1 user grp   88873 Aug 19 13:58 grp3-any-1.3.jar

     In Maven Assembly this will not occur, and the last file name will be the only one available. There is at least two way to solve this issue:

    1. Use unique groupid and artifactid name: something you can do across your module code, it can be done if these dependencies are real 3rd party librairies
    2. Use the outputFileNameMapping in assembly 
    <outputFileNameMapping>${artifact.groupId}-${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> 

    Another use case for outputFileNameMapping is when you want to remove the timestamp from filename but keep the version in assembly dependencySet

    ${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}

     

     

  • greenhoppertaskboard

    Atlassian just acquired GreenHopper, a popular JIRA plugin with over 800 customers.

    GreenHopper is a JIRA plug-in that adds a broad collection of agile project management capabilities to JIRA, and extends JIRA as a powerful platform for agile development teams. GreenHopper simplifies the planning and organization of tasks, workflows and reporting for agile teams.

    It introduce in JIRA

    • Card management:&160; Visualise issues, tasks and user stories as graphical "cards", color-coded and dynamically editable.

    • Planning Board: Quickly create, assemble, sort and prioritize project tasks with drag-and-drop simplicity.

    • Task Board: Track progress through simple, graphical views of remaining tasks across projects and teams.

    • Chart Board: Customizable dashboard, dynamic burn down and burn up charts.

    Learn all about GreenHopper at www.atlassian.com/greenhopper. Unfortunately it is not a free extension… ($700 to $1150 to add to JIRA)

  • "About a year ago, I compiled a huge list ofartistic sites. It seems like the trend has carried
    on in 2008 and is growing stronger (thank God the glossy style is gone). So what’s hot now?
    Pencil sketches, handwritten notes, card stocks, watercolor effects, collage art, script fonts,
    grungy and splatter ink backgrounds (glossy gradients are not "in" this year). Another trend to
    be on the lookout for are the
    vintage and retro styles which I’ve posted earlier this year.
    Here is a list of 82 sites picked from
    Best Web Gallery that show the current design trends."

    So for the rest of use, not fortunate enough to afford  a designer, there is still a lot of options like

    TemplateShaker is WYSIWYG (what you see is what you get) xhtml/css template generator.

    "Using this tool is pretty simple: just click and customize the look and feel of the template on
    the fly, in complete WYSIWYG environment. Save the template and it is done – just open the
    template generated with your favorite html editor and use it for your sites. It is free of charge
    – both for non-commercial and commercial use. You are free to use the templates on all your
    sites and all your client’s sites.

    This product is designed to give web designer quick and easy way to modify the look of
    predefined template layouts. You can change the images, backgrounds, text colors, page
    background etc. This initial release comes with 3 templates predefined but you can produce
    hundreds of templates by playing with the different customization settings. The templates
    which this tool generates are free to use if you keep the credits link at the bottom.
    (However - in case you want to remove the credits, there is commercial version available)"

    For all Joomla reader up there I recommend you to visit JoomlaOS.de with its 2460 Joomla templates available under GPL


  • Firefox 2 Release Candidate 2 (RC 2) is a preview release of our next generation Firefox browser and is being made available for download to Web application developers, our testing community and users who want to get a sneak peek at the next version of Firefox. Please note that at this time, users should not expect all of their extensions, plugins and themes from previous versions of Firefox to work properly.

  • Available only for people who want to try unstable software.
    Bon Echo Alpha 1 is a developer preview releaseof our next generation Firefox browser and it is being made available fortesting purposes only. Bon Echo Alpha 1 is intended for web application developers and our testing community. Current users of Mozilla Firefox 1.x should not use Bon Echo Alpha 1.

    Happy testing :-)
  • The award-winning Web browser is now faster, more secure, and fully customizable to your online life. With Firefox 2, we’ve added powerful new features that make your online experience even better.



  • ff-beta3-robo-welcome

    I am running with Firefox 3.0 beta 4 since it is available (so since 2 weeks) and the progress made concerning memory management are so huge that you cannot start using it NOW, especially if you are always keeping Firefox open for hours or days. I am now able to say that Firefox is on par with my other favorite browser Opera 9.5, speed and rendering time are very close. I still prefer Opera through as I always keep 25 tabs open.

    It is time now for me to test the Beta 5!

    Firefox 3 Beta 5 is available in 45 languages as a public preview release intended for developer testing and community feedback. It includes new features as well as dramatic improvements to performance, memory usage and speed. You can download it HERE

    Why You should not use Firefox 3.0 Beta?

    • If you can not live without your favorite extension, note that Google toolbar is not compatible, but web developer is.
    • You can not start the old Firefox 2.x.x and the new Firefox 3.x at the same time, bookmark is shared

    For all developer out there reading my blog, I recommend You to read what the Firefox team has done to track down all memory leaks and reduce memory usage, this article is worth reading!

    Download Firefox Beta5 NOW:

  • firefox.3.5

    see the what's new page here and Mike Beltzner giving a video tour of all the newest awesomeness.

    All my plug-ins are still working after the update to the latest version, my homepage is loading faster (as fast as in Google chrome)

    After the update you’ll be redirected to this page http://en-us.www.mozilla.com/en-US/firefox/3.5/whatsnew/ where you’ll be able to test a video embedded in HTML 5.

  • mozilla_firefox_6

    Made to make the Web a better place, a new look, super speed, even more awesomeness

    Download Firefox 6.0 for Linux, Windows or Mac.

    Download for ANDROID

  •  The Mozilla Foundation has released Firefox 1.0.5

  • Thanks to the support of the always amazing Mozilla community, we got more than
    8 million Firefox 3 downloads in 24 hours. That’s more Firefox downloads than we’ve ever
    had in a single day -- an impressive feat indeed!

    cedricwalter-firefox-certificate

    by going there: http://www.spreadfirefox.com/en-US/worldrecord/certificate_form

    And see where it has been downloaded the most here http://www.spreadfirefox.com/en-US/worldrecord

    It is always time to give Firefox a try by downloading it ;-)
    firefox3
  • googlechrome Google Chrome Portable is a web browser that runs web pages and applications with lightning speed. It's designed to be simple and stylish. It's packaged as a portable app, so you can take your browsing experience with you. You just need a memory stick with 40MB of space

    Download 3.0.195.27 Rv2

    for Windows, Multilingual - 11MB download / 34MB installed

    Or for the more adventurous the latest build

    Download Google Chrome 4.0 Beta
    for Windows, Multilingual - 11MB download / 34MB installed

    From http://portableapps.com/apps/internet/google_chrome_portable

  • Google Chrome is go for beta on Linux! Thanks to the many Chromium and WebKit developers who helped make Google Chrome a lean, mean browsing machine. Here are a few fun facts from us on the Google Chrome for Linux team:

    • 60,000 lines of Linux-specific code written,
    • 23 developer builds,
    • 2,713 Linux-specific bugs fixed,
    • 12 external committers and bug editors to the Google Chrome for Linux code base,
    • 48 external code contributors.

    Note in the URL the usage of w00t that is used to express joy, particularly that felt during success or victory.

    http://www.google.com/chrome/intl/en/w00t.html

    A lot of people were already using Google Chrome DEV build on Linux (including me with a great stability even in 64 bits), the BETA state means even greater stabilities.

    Related Chrome Articles http://www.waltercedric.com/component/tag/chrome.html

  • Valid HTML 4.01 Frameset&160;opera safari chrome firefox ie

    I did learn a lot today while trying to validating my new sub domain: http://websitesasgraphs.waltercedric.com/ I found a huge number of examples using the tag <applet> which has been deprecated and create errors and warning in W3C validation engine. But no example using the&160; the new HTML <object> tag.&160; Hence I decide to publish this small post.

    The following page are now XHTM 1.0

    While this one is

    Here is the code to insert a java applet into an XHTML 1.0 Strict web page

    <div>
    <object classid="java:mkv_htmlgraph.class"  
            type="application/x-java-applet"
            archive="mkv_htmlgraph.jar"
            width="600" height="600">
        <param name="code" value="mkv_htmlgraph" />
        <param name="archive" value="mkv_htmlgraph.jar" /> 
        <param name="image" value="loading.gif" />
        <param name="boxmessage" value="Loading Processing software..." />
        <param name="boxbgcolor" value="FFFFFF" />
        <param name="urlFromForm" value="http://websitesasgraphs.waltercedric.com/getDataFromURL.php?url=&amp;lt;?php echo $url ?>" />
          <strong>
            This browser does not have a Java Plug-in.
          </strong>
          <br />
          <a href="http://java.sun.com/products/plugin/downloads/index.html">
            Get the latest Java Plug-in here.
          </a> 
    </object>
    </div>
    www.waltercedric.as.graph_thumb
    The source code websiteasgraph.v01.00.00.zip has been changed and is available here: Download now

    References

    By the way, I discover huge issues in IE8, less in IE7 with my homepage, none in Opera or Firefox. And since my homepage is currently not valid, I will correct everything to make it XHTML 1.0 compliant today.


  • shaunthesheep_google_chrome_3d_css

    The latest version of a Chrome browser show its muscle in version 12 (just restart your chrome browser to get this new version), major new features

    • Hardware accelerated 3D CSS
    • New measures to prevent malware and phishing attempts

    Watch Shaun and his friends' antics in clips from "An Ill Wind", "Snowed In", "The Big Chase", and "Twos Company" through an interactive experiment created with hardware-accelerated HTML5 video, 3D CSS Transforms, and WebM. Use the controls to expand and shrink the video, rotate the scene, bring up a rotating carousel of videos, turn on puddle reflection, and navigate between videos in a snap.

    HTML5 and CSS make these advanced functionalities (and more!) a part of the modern web standard, and allow developers and artists to create immersive, imaginative experiences for everyone to enjoy.

    http://www.chromeexperiments.com/shaunthesheep

    Google is really pushing the web and they show it nicely.

    I am also a fan of Wallace & Gromit as well Smile

  • I am using KDE 4.2RC1 since 2 weeks now, mainly 2 to 3 working day at the office, and has not experienced any crash yet or having any regret by using it. The desktop is just great, and very polished.

    desktop

    To install it in OpenSuse 11.1, just use the following link

    &160;

    Kde4-ymp

    Or you can choose to install a more basic KDE 4 desktop.

    Attention: The KDE:KDE4:Factory:Desktop Build Service project offers KDE 4.2.x packages as they are currently under development for openSUSE 11.2. They should be mostly usable, but have bugs.

    The release announcement gives a quick overview while the visual tour to KDE 4.2 is a must see. Here are also 2 video:


  • The file web.xml inside the WEB-INF folder is the Web Application Deployment Descriptor for your application. This is an XML file describing the servlets and other components that make up your application. The file below is what I use at work. It contains better settings than the default one, plus all descriptions of parameters.

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
     
    <context-param>
    <description>
    Comma separated list of URIs of (additional) faces             config files. (e.g. /WEB-INF/my-config.xml) See JSF             1.0 PRD2,
    10.3.2 Attention: You do not need to put
    /WEB-INF/faces-config.xml in here.
    </description>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>
     /WEB-INF/faces-configs/common-faces-config.xml,
     /WEB-INF/faces-configs/page1-faces-config.xml,
     /WEB-INF/faces-configs/page2-faces-config.xml
    </param-value>
    </context-param>
    Follow Divide and Conquer rule:
    Do not put all your managed beans, navigations rules in one big file. Consider one faces-config per functions or html page.
    <context-param>
    <description>State saving method: "client" or "server"          (= default) See JSF Specification 2.5.3
    </description>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    Server is recommended.
    Ive tried one day client, but HTML pages were 10Mb big!
    <context-param>
    <description>
    Only applicable if state saving method is "server"         (= default) and if
    org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is           true (=default) If true (default) the serialized              state will be compressed before it is written to the session. If false the state will not be compressed.
    </description>
    <param-name>
      org.apache.myfaces.COMPRESS_STATE_IN_SESSION
    </param-name>
    <param-value>true</param-value>
    </context-param>
    You should always balanced cpu/memory usage.
    (Compressing state cost CPU but spare memory...obvious)


    <context-param>
    <description>
    Only applicable if state saving method is "server"             (= default). If true (default) the state will be               serialized to a byte stream before it is written to             the session. If false the state will not be                     serialized to a byte stream.
    </description>
    <param-name>
     org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
    </param-name>
    <param-value>false</param-value>
    </context-param>
    Compressing data save memory bytes on server at the cost of more computational power.
    <context-param>
    <param-name>
    org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
    </param-name>
    <param-value>5</param-value>
    </context-param>
    Number of back button. Default is 20. far too much. reducing this value decrease memory size.
    <context-param>
    <description>
    This parameter tells MyFaces if javascript code               should be allowed in the rendered HTML output. If             javascript is allowed, command_link anchors will have javascript code that submits the corresponding form. If javascript is not allowed, the state saving info and nested parameters will beadded as url parameters. Default: "true"
    </description>
    <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
    <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
    <param-value>false</param-value>
    </context-param>
    Nothing special here. Most of the time, webpage are full of javascript.
    <context-param>
    <description>The buffer size to set on the response         when the  ResponseWriter is generated.
    By default the value is -1, which will not assign             a buffer size on the response.
    </description>
    <param-name>facelets.BUFFER_SIZE</param-name>
    <param-value>8192</param-value>
    </context-param> 
    Try to set the buffer size to the most common page size.
    <context-param>
    <param-name>facelets.SKIP_COMMENTS</param-name>
    <param-value>true</param-value>
    </context-param>
    In production, no need to let comment in rendered code
    <context-param>
    <description>
    If true, rendered HTML code will be formatted, so             that it is "human readable". i.e. additional line             separators and whitespace will be written, that do             not influence the HTML code. Default: "true"
    </description>
    <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
    <param-value>false</param-value>
    </context-param>
    Cpu waste in production.
    Beautify your code in eclipse.
    Consider instead using Firefox source chart plugin which always beautify and color the source source
    <context-param>
    <description>
    If true, a javascript function will be rendered               that is able to restore the former vertical scroll             on every request.
    Convenient feature if you have pages with long                 lists and you do not want the browser page to                 always jump to the top if you trigger a link or               button action that stays on the same
    page. Default: "false"
    </description>
    <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
    <param-value>true</param-value>
    </context-param>
     
    <context-param>
    <description>
    Validate managed beans, navigation rules and                   ensure that forms are not nested.
    </description>
    <param-name>org.apache.myfaces.VALIDATE</param-name>
    <param-value>true</param-value>
    </context-param>
    Can be turned off in production, if you have a good testing team and many deployment stage This kind of errors should not go un noticed.
    <context-param>
     <param-name>facelets.LIBRARIES</param-name>
    <param-value>
     /WEB-INF/taglib/tomahawk.taglib.xml;
     /WEB-INF/taglib/aa.taglib.xml;
     /WEB-INF/taglib/your.taglib.xml
    </param-value>
    </context-param>
    List here all 3rd party and your own tag library
    <context-param>
    <param-name>facelets.REFRESH_PERIOD</param-name>
    <param-value>2</param-value>
    </context-param>
    <context-param>
    <description>Special Debug Output for Development
    </description>
     <param-name>facelets.DEVELOPMENT</param-name>
     <param-value>false</param-value>
    </context-param>
    <context-param>
     <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
     <param-value>.xhtml</param-value>
    </context-param>
    			Using a 
    			facelets.REFRESH_PERIOD >= 1 
    			means that templates 
    			will be reloaded after 
    			a given period if the
    			file has been modified 
    			on the file-system.
    			

     

     

     

     

    Obvious settings

    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>
     org.apache.myfaces.webapp.filter.ExtensionsFilter
    </filter-class>
     <init-param>
      <param-name>uploadMaxFileSize</param-name>
      <param-value>100m</param-value>
    </init-param>
    <init-param>
     <param-name>uploadThresholdSize</param-name>
     <param-value>100k</param-value>
    </init-param>
    </filter>   
    Some security settings. Consider settings these values accordingly to your needs.
    <error-page>
     <error-code>404</error-code>
     <location>/error.jsp</location>
    </error-page>
           
    <error-page>
     <error-code>500</error-code>
     <location>/error.jsp</location>
    </error-page>
           
    <error-page>
     <exception-type>java.lang.Exception</exception-type>
     <location>/error.jsp</location>
    </error-page>
    Standard settings not related to JSF. Never reveal any useful informations in error pages!

       
  • I really like this small Firefox extension Smushit as it allow to quickly check if all my images are optimized for the best size and thus speed of rendering. But wait IE/Opera/Chrome can still use this bookmarlet :-) to optimize the images found on any web page!

    From http://www.smushit.com/

    Image optimization is an art that not many people master. There are many good image editing tools that allow us to get the best visual result for a certain file size but "under the hood" a lot more optimization can be done.

    Smushit.com is a service that goes beyond the limitations of Photoshop, Fireworks & Co. It uses image format specific non-lossy image optimization tools to squeeze the last bytes out of your images - without changing their look or visual quality. You'll get a report of how many bytes you can save by optimizing your images and all the changed images as a single zip for download.

    Saving bytes has never been so easy - you point us in the right direction, and we'll do the rest for you. A ZIP archive with optimized images will be generated for you.

  • mobile.waltercedric.com

    I’ve created an optimized site for mobile, it is pretty basic but is lightning fast on any smart phone (Android, iPhone, Windows Mobile). I will invest more time on it later this week.

    It detect and redirect visitors to an optimized template (pda) which only display what is worth, aka articles content.

    Regular user can see how it look like by cheating Joomla! and switching template on the fly http://www.waltercedric.com/index.php?template=pda

    I did not follow this tutorial, found it too late,&160; but it is really complete and easy to follow. By the way, opera has a “small screen rendering” view in Opera 10, visit my site or any other and click SHIFT-F11 together.

    The plugin with its template can be downloaded free of charge at Joomla! extension directory (JED) here

    &160;

    I did test it in IE8/IE7/Opera10/Firefox/Chrome, but send me an email if you encounter any issues..

  • joomla_cms

    This small plugin add automatically to any article a set of social icons that let your reader increase your social ranking. It support: Twitter, Facebook, Google +, Google Buzz, Digg, Xingand LinkedIn

    SocialSharing For Joomla! has been released at version 2.0.0 for Joomla! 1.5 and for Joomla! 1.7. It is running on this blog and at the various showcase site:

    socialSharing.Joomla

    To update your extension, Download the latest copy, uninstall from Extensions → Install / Uninstall → Pluginand install with the fresh copy.

    Online documentation is available in the wiki

    Changelog

    NEW

    • Improved caching for more speed,
    • Add Xing share button, available in 16x16, 32x32 and 64x64 pixels,
    • Use the official Facebook share button and not anymore the third party provider fbshare.me for more security and better sharing options.

    BUGS

    • Remove a bug where the sectionid was accessed even while not being viewing an article,
    • One version number 2.0.0 for all version of Joomla!
    • Google+ was available in version for Joomla 1.5 but missing in the version For Joomla! 1.7
  • joomla_socialsharing_logo

    This small plugin add automatically to any articles a set of social icons that let your reader increase your social ranking. It support

    There is 2 different branches of this plugins depending on your version of Joomla!

    Don’t&39; mix them and use the right version!

    joomla_socialsharing_horizontal_left joomla_socialsharing_left

    Features

    • Output is CSS driven, 6 preset styles
    • Toolbar can be added before or after your article
    • It is possible to include exclude sections and category for displaying the toolbar
    • Inclusion of  JavaScript done using asynchronous techniques for more performances
    • Less than 220 lines of PHP code!
    • Support for SEF friendly URLs
    • Code produced is XHTML 1.0 Strict,
    • License under GNU/GPL v3
    • Tested in the following browser Firefox, Opera, Chrome, IE 8

    Documentation

  • joomla_cms

    joomla_socialsharing_logo_thumb4

    This small plugin add automatically to any articles a set of social icons that let your reader increase your social ranking. It support