About MeCurriculumLicensePortfolioProjectsPublicationsBD-blog

Posts Tagged ‘java’

06
Jun

image for post title  Unipoli

We finally finished our university project, Unipoli. The Java implementation of the famous Monopoly game by Hasbro has been released under GPLv3 (yes it’s free software) . You can have a look at the source code, simple but elegant, written using coding standards, following xP practices and Scrum software development process (at least we tried to follow them).
On the project site you will find useful documentation, too: Vision Statement, User Stories, Noun Extraction, Product Backlog, UML Classes, Hierarchy and Relations, UML class diagram, Javadoc.
The game has been written for Programming Project course.
Read the rest of this entry »

 
 

I’m very proud of this, after so many problems encountered during the first two months of development, our product backlog begins to turn green and yellow!

Anyway, I think that Scrum Method is not the best software development process that we could have adopted, I will espress my thoughts during the exam and I will publish them

 
 
Tags: , ,
Categories: Activism?, Programming

Today I wrote a new version of my summary posted here. The new version covers more topics, here is the updated list:

  • Memory portions assigned to a program (code area, heap / dynamic memory area), execution stack
  • How code is loaded in Java
  • The Activation Record (AR) and function calls
  • Abbrevations (AR, RV, RA, SP, N/E, @, ??, arb)
  • Examples on method calls and activation records usage
  • Declaraion vs. Definition of a variable, the scope of a variable, blocks
  • Scope Activation Record (SAR), Static Link (SL), the role of SL
  • The extent/lifetime of a variable
  • Dynamic memory allocation and handling
  • Dynamic vs. Static memory allocation
  • Dynamic memory scope and extent
  • Accessing dynamic memory
  • Classes and Objects in detail, object instantiation
  • Memory Management issues
  • Objects vs. Variables (definitions)
  • Methods of Objects
  • Class Attributes
  • The null value
  • Parameters (formal, actual), parameters passing (by reference, by value)
  • Constructors and Inline Initialization
  • Constructor’s call
 
 

Updated on 18th April 2008, a complete example on stack and heap
Updated on 15th April 2008, new contents and new layout!
Updated on 6th April 2008, new contents!

At Programming Project course we study project-oriented approaches to Java-based software development. Don’t ask me why, the syllabus covers the topic “Modeling program execution with memory models”, even if we use Java, the programming language known for letting the developer to write programs without caring about memory.

Anyway, here is a briefly summary of the slides and the explanation of the professor about a simple object oriented memory model (Java as example).

Download the PDF of the summary

Topics covered:

  • Memory portions assigned to a program (code area, heap / dynamic memory area), execution stack
  • How code is loaded in Java
  • The Activation Record (AR) and function calls
  • Abbrevations (AR, RV, RA, SP, N/E, @, ??, arb)
  • Examples on method calls and activation records usage
  • Declaraion vs. Definition of a variable, the scope of a variable, blocks
  • Scope Activation Record (SAR), Static Link (SL), the role of SL
  • The extent/lifetime of a variable
  • Dynamic memory allocation and handling
  • Dynamic vs. Static memory allocation
  • Dynamic memory scope and extent
  • Accessing dynamic memory
  • Classes and Objects in detail, object instantiation
  • Memory Management issues
  • Objects vs. Variables (definitions)
  • Methods of Objects
  • Class Attributes
  • The null value
  • Parameters (formal, actual), parameters passing (by reference, by value)
  • Constructors and Inline Initialization
  • Constructor’s call
  • Class attributes (static variables)
  • Class methods (static methods)
  • Complete Example of Stack/Heap Diagrams

Everything is integrated with simple examples.

Download the PDF of the summary

 
 

21
Feb

image for post title  CMS-Jumapili

Tags: , , ,
Categories: My Life

Jumapili

Descrizione del progetto

Jumapili é un CMS (Content Management System) multilingua sviluppato in php5 con supporto a MySQL tramite mysqli. É interamente modulare, e molto performante.
Come Hotello, é stato sviluppato per rendere migliore la collaborazione tra programmatori, grafici, traduttori e aziende; comprende un comodo sistema di installazione, e le sue funzioni vengono chiamate tramite degli “include” nelle pagine sviluppate dai grafici.
Esempio: se in una pagina si vogliono inserire le news dell’azienda, é sufficiente che i grafici preparino la pagina come loro desiderano, stili compresi, e nel punto esatto dove si vogliono inserire le news, basta includere la pagina di Hotello che serve a stampare a schermo le news.

Funzioni di Jumapili

  • Creazione, modifica, cancellazione e visualizzazione dinamica di Pagine Principali e Sottopagine collegate ad esse, con possiblitá di ordinarle
  • Inserimento, modifica, cancellazione e visualizzazione di News, per categoria (comprensiva di immagine) con possibilitá di ordinarle, renderle invisibili, e pubblicarle in home page.
  • Rotazione automatica casuale di banner di intestazione pagina
  • Creazione automatica del menú di navigazione del sito, contenente Pagine Principali e Sottopagine collegate ad esse, con effetti javascript
  • Creazione, modifica, cancellazione e visualizzazione dinamica di Gallery multiple, in qualunque forma si desideri, con effetti grafici
  • Sistema di gestione Newsletter separate a seconda della lingua scelta dal visitatore del sito in fase di registrazione
  • Cambio immediato della lingua dal pannello di controllo, per editare tutte le precedenti sezioni per le lingue desiderate

Alcune Immagini di Jumapili

Pannello di controllo di JumapiliPagina principale del pannello di controllo di Jumapili

Jumapili - modifica di Pagina PrincipaleModifica di una Pagina Principale, con anteprima

Siti che utilizzano Jumapili:

Confesercenti Bolzano - CMS JumapiliConfesercenti Alto Adige, Bolzano


 
 

24
Jan

image for post title  BD-theme

BD-theme is a widget ready, two columns Wordpress style, written using the default Wordpress theme as php/xhtml base. The theme is inspired by TorrentFreak rounded layout, and some little ideas are inspired by Curved Theme, which was the old BD-blog theme.
I just wanted to write my own Wordpress theme.
This is my first theme, and my first try to design something nice. Source code is available below.

If you like BD-blog theme, then download BD-theme =)

Warning! The template is still not valid XHTML! I’ll correct it before release 1.0!

Download:

  • 2008-09-19 - version 0.9
    Changes from 0.8-experiment:
    • Fully Compatible with Mozilla Firefox 2/3, Internet Explorer 6,7,8, Google Chrome, Apple Safari
    • More harmonious and stable
    • Links to pages are now rounded corner buttons
    • Buttons for pages moved over main layout, added a button for accessing the blog posts
    • The current page link button gets the same background color of the content page
    • Post header layout changed: a very nice band contains the title of the post and the date of posting exits the main layout
    • Various CSS fixes
    • Screenshot:
      BD-theme 0.9 Screenshot

      BD-theme 0.9 Screenshot

    What will be next:

    • CSS bugs totally fixed (I hope :D)
    • Theme has to pass w3c’s xhtml/css validations
    • Theme has to remain compatible with all browsers
  • 2008-08-21 - version 0.8 - experiment
    About:
    • Quite everything changed in the last 6 months, but the colors
    • This is the source code of the experiments done from the post of 06-06-2008: BD-theme’s new look
    • NOT to be considered as a stable release, code is very dirty (but almost functional)
    • It’s the base I’ve been using since 7 days for the final release, It’s available because somebody may like it more than the next version, or to modify it
    • An image helps more than a thousand words:
      BD-theme 0.8, the Experiment

      BD-theme 0.8, the Experiment


      BD-theme 0.2 - Classic

      BD-theme 0.2 - Classic

  • 2008-02-21 - version 0.2
    Changes:
    • fixed a:hover transparency bug in #pages
    • fixed .entry links and img
    • added a stlye for blockqoute
    • fixed some values of the searchform in the sidebar (safari fix)
    • added a style for the links inside the #footer section
  • 2008-01-24 - version 0.1
    First version, download it just if you want to customize it or to create a new theme based on this one. I’m testing it on my blog. It may contain “useless” code from the default Wordpress Theme