Mauro Pirrone | Blog

Design & Logic Arts

Giuseppe Picture Framing

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Posted in ASP.NET, Web Design, Web Development by mauro on the December 14th, 2009

Giuseppe Picture-framer started as a small picture framing business in 1979. Over the years the company gained a good reputation, for quality, and artistic feel. Today it produces its own moulding designs for wholesale trade and in-house use. The company creates and produces a range of mouldings that are hard to find on the market.

ASP.NET Dynamic Data Review

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Posted in ASP.NET, Web Development by mauro on the October 27th, 2009

A few months ago I have discovered the new Microsoft technology called Dynamic Data. It is a web development framework which is suitable for rapidly building data-driven websites (or web applications).

The main feature of Dynamic Data is definitely the scaffolding feature. It works in conjunction with either LINQ to SQL or LINQ to Entities. It adopts the “Don’t Repeat Principle” by using what are called page templates and field templates. Everything is modular and you can easily re-use components. It is much like Ruby on Rails! We have to admit that Ruby on Rails is more complete and it supports MVC out of the box. On the other side, the nice thing about Dynamic Data (unlike RoR), is that everything is integrated within our friend Visual Studio :).

In general I believe Dynamic Data is suitable for building small web applications where performance is not an issue or if you are not dealing with huge amount of data. Personally I found Dynamic Data useful for rapidly building customised content management systems. Although, I had a learning curve it was worth it and will be using it in future projects.

We expect Dynamic Data to improve in future. There are also companies such as Telerik which are already creating controls for Dynamic Data. If you would like to find out more check out the offical website.

If you have used Dynamic Data and you would like to share your experience, feel free to leave a comment.

Long time, no see

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Posted in Academic, Web Development by mauro on the October 26th, 2009

It has been a long time since I’ve updated my blog. Since my last update, I launched some new websites. If you’re interested to find out more, please check my website here: http://www.pirronedesign.com

At the moment I am working on a couple of new and interesting websites and I am currenly doing research on data clustering for my B. Sc. IT (Hons) final year project.

I will try and keep my blog up-to-date, so please check back later :)

Avant Garde Caterers Website Launched

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 4 out of 5)
Loading ... Loading ...
Posted in Projects, Web Design, Web Development by mauro on the December 13th, 2008

Blog.com.mt Launched - Maltese Blogging Website

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Posted in Latest News, Web Design, Web Development by mauro on the September 30th, 2008

Blog.com.mt is a totally free service offered for those users that wish to start blogging. It’s totally free, there are no hidden charges and that’s what makes Blog.com.mt popular among the Maltese Bloggers.

Stand out from the crowd and get noticed by blogging on Blog.com.mt! You are a few clicks away from having your own Blog Online.

JoeSpiteriSargent.com Launched

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Posted in Latest News, Web Design, Web Development by mauro on the September 24th, 2008

Small but informative website about Joe Spiteri Sargent has been launched. The purpose of this website is to promote award winning Spiteri Water Pump (SWP).

[ www.joespiterisargent.com ]

Rsb.com.mt launched!

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Posted in Latest News, Web Design, Web Development by mauro on the September 2nd, 2008

A new real estate website has been launched. More info regarding this website coming soon. Any comments are more than welcome ;)

[ www.rsb.com.mt ]

Shrink that code!

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Posted in Web Development by mauro on the June 4th, 2008

ShrinkSafe is a JavaScript compression utility which can practically reduce file size by a third or more. The idea behind this is very simple…faster web page download!

Start shrinking your JavaScript files:
http://shrinksafe.dojotoolkit.org/

Best Practices for Speeding Up Your Web Site

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Posted in Web Development by mauro on the June 1st, 2008

Here’s a link which points out the best practices to have exceptional performance websites:
http://developer.yahoo.com/performance/rules.html

Here’s also a library which helps solving some of these rules:
http://code.google.com/p/minify/

Integrating Flickr with your PHP website

1 Star2 Stars3 Stars4 Stars5 Stars (8 votes, average: 4.38 out of 5)
Loading ... Loading ...
Posted in Web Design, Web Development by mauro on the May 31st, 2008

Flickr is an image and video hosting website. Luckily enough, they provide a web service to access your photos and use them in any way you want. To get you into perspective, here’s the Flickr photoset which I am using, and here are the customised photo gallaries which I created using PHP:

Although I’m showing you how to integrate Flickr with Lightbox and PostCardViewer, this technique works with any photo gallery including the commercial one SlideShowPro.

Step 1

Downlaod the phpFlicker library from http://phpflickr.com/

Download Lightbox or PostCardViewer (or any other photo gallery).

Step 2

To access Flickr using a web service, you need an API key. You may get one from http://www.flickr.com/services/api/keys

Step 3

Get the photoset ID. In this case I am using photoset id ‘72157605353756648′. Note that the photoset id is part of the URL. For example, http://www.flickr.com/photos/26262208@N07/sets/72157605353756648/

Step 3

Step up your php script.

require_once("phpFlickr/phpFlickr.php");
$f = new phpFlickr("your api key");
$photoset_id = '72157605353756648';
$photos = $f->photosets_getPhotos($photoset_id);

Step 4

Loop through each photo in the photoset and you’re done! The following example uses the Lightbox photo gallery.

<ul>
<?php foreach ($photos['photo'] as $photo): ?>
<li><a rel=”lightbox[roadtrip]” href=”<?= $f->buildPhotoURL($photo, ‘medium’) ?>” title=”<?= $photo['title'] ?>”><img src=”<?= $f->buildPhotoURL($photo, ’square’) ?>” alt=”<?= $photo['title'] ?>” title=”<?= $photo['title'] ?>” /></a></li>
<?php endforeach; ?>
</ul>

Notes

  • You may easily change the file size by specifying either square, thumbnail, small, medium, large or original. For example: $f->buildPhotoURL($photo, ‘large’)
  • You may programmatically get the photoset ids by using the API call photoset.getList (or photoset_getList method)
  • You may also use API calls to get comments, upload photos, and so on
  • For the complete API documentation visit here

Source Code Download

Next Page »