Jump to content


jacmaes

Member Since 13 Dec 2011
Offline Last Active Apr 23 2013 09:53 AM
-----

#32416 ProcessWire Pro Cache - Now Available

Posted by jacmaes on 09 April 2013 - 12:06 PM

@onjegolders: it does feel very snappy (checking from Paris, France), and that's impressive for a rather image-heavy site as portfolios usually are. 




#28438 FontSquirrel custom preview text

Posted by jacmaes on 24 February 2013 - 02:27 PM

Great find diogo. And in case you guys don't know about it, there's very useful extension named WhatFont that I use all the time to know what fonts are used on the pages I'm browsing.




#21687 anyone use '320andup' boilerplate?

Posted by jacmaes on 05 December 2012 - 06:45 PM

According to the developers, they're using breakpoints.js to load in additional content dynamically depending on screen size:
https://mobile.twitt...643312877207552
http://xoxco.com/pro...de/breakpoints/

It does look great and loads fast. It's responsive in every way.


#20595 image crop and resize wishes

Posted by jacmaes on 23 November 2012 - 03:51 AM

In my humble opinion, Pixlr serves a specific purpose: it's probably very useful for occasional image adjustments, and apparently is quite powerful.  And I see a couple of major problems with it:
  • It's Flash-based, so it's obviously not a future-friendly solution. Flash is dying on mobile devices since Adobe officially killed it (it never really was an option anyway). Who cares, you might say? Who would want to edit images on a mobile device from a PW admin? Well, I already have a couple of clients who are literally in the "post-PC era": they do all their work on tablets. Don't ask them to edit their sites on their laptops or desktops: they don't have one anymore. Most of us might think this is a strange idea to edit a PW site on a mobile device, but this is already happening, and whether we like it or not, it's very likely to become the norm within a few years.
  • I can't just ask my clients on high-traffic websites to open an image-editing module dozens of times each day and hunt for the sharpening tool each and every time that they upload a new picture. They wouldn't do it, and I wouldn't blame them. I wouldn't want them to mess with the other filters either ("I put it all my pictures in sepia because they look prettier that way").
Image sharpening is the only nagging "issue" I have with PW for all the image-heavy sites that I'm developing. Admittedly, most users wouldn't notice that pictures are slightly blurry. But I do, and it bothers me. I want my sites to look as good as I can make them to be, not just acceptable. I'm sure most of you share that philosophy.

I can get around the problem by enforcing crops in apeisa's excellent module at a larger size than required and then shrinking the image in my HTML or CSS, but it's not a good solution. It seems to me that image sharpening should be a configurable option globally (whether as a module or included in the core), just like image quality now is.


#20387 image crop and resize wishes

Posted by jacmaes on 19 November 2012 - 06:53 AM

Ryan, it would be great to have also a sharpening option. I find that rescaled images commonly come out slightly blurry.

PhpThumb uses this script to sharpen thumbnails:
http://vikjavev.no/computing/ump.php

Would that be something you'd consider?


#18140 Converting events website to PW

Posted by jacmaes on 08 October 2012 - 11:54 AM

Thanks a million, Ryan. It's the AND - OR that that I didn't know how to reproduce with the API. As usual, it's concise and intuitive. I can't conceive starting a project without PW now!


#18024 Compressing ProcessWire output

Posted by jacmaes on 05 October 2012 - 10:40 AM

Michael, are you talking about minifying or compressing?

I can confirm that the HTML output (along with my js, css, and svg files) from PW is correctly compressed with the following line in my .htaccess, which is basically a shorter version of the code from HTML5 boilerplate quoted above:

<FilesMatch "\.(js|css|html|htm|php|svg)$">
SetOutputFilter DEFLATE
</FilesMatch>

The issue might be with your server then. You can double-check what's gzipped here: http://gzipwtf.com/


#13506 Blog Profile

Posted by jacmaes on 11 July 2012 - 08:18 AM

Soma, Pete, I stand corrected ::)

In any case, it's clear that Cufón is not a good option anymore now that @font-face support is broad enough. Apart from the inability to select text, enlarge it without pixelating, Cufón is slow to render and routinely suffers from FOUT (Flash of Unstyled Content) without resorting to hacks.


#13505 Testing Sites on Mobile Devices

Posted by jacmaes on 11 July 2012 - 08:12 AM

Two useful bookmarklets for testing responsive designs:

http://responsive.victorcoulon.fr/
http://www.benjamink...gn-bookmarklet/


#12495 Responsive web design & responsive images

Posted by jacmaes on 08 June 2012 - 02:51 AM

I started building responsive sites more than a year ago, and like everyone else I quickly realized that the weakness of that new method / philosophy is serving the same image to all devices, from mobile to desktop.

Matt Wilcox's Adaptive Images (server-side resizing) works great, but like JeffS above, I'm interested in optimizing content for device groups, i.e. content optimized for mobiles, tablets, desktop and even smart TVs. I've come to the conclusion that to do this efficiently, device detection has to be done on the server. There's even a buzzword for this new technique: RESS, or  Responsive Design + Server Side Components as coined by Luke Wroblewski.

WURLF is the most famous device detection database, and there are some good tutorials to get you started such as NetMagazine's, but it seems to me way too complicated for simple projects, and WURLF has turned into a commercial project anyway.

I've been looking at two recent projects that seem very promising:Categorizr is by far the simpler approach, and I like how it turns the traditional and much-decried User-Agent sniffing on its head: it assumes that whatever is not detected as desktop and TV (which are relatively easy and safe to detect) is a mobile device. In other words, it's a mobile-first based device detection. Clever.

Here's a test page I created using Categorizr and that you can check on your mobile, tablet, or computer that will show different content according to the device used (disclaimer: not fully tested):
http://www.arqyestud.../categorizr.php

Combining this server-side detection technique with the versatility and power of PW could make for very powerful and easily-maintainable 'hybrid' responsive sites.

What do you guys think?


#12494 Cloudflare

Posted by jacmaes on 08 June 2012 - 02:15 AM

I second Jeff's opinion of CloudFlare. I've been using the free version for a couple of months on 3 different websites, and the bandwidth saving + speed improvements do make a difference. Threat protection is a nice bonus too, and seems to work really well according to the statistics they provide.

The $20-a-month pro version is tempting as it adds SSL encryption and two brand-new server-side image optimization services: what they call Mirage and Polish.

Polish "applies 'lossless' or 'lossy' image optimization to reduce your image sizes by 35% on average". That's nice, but a program like ImageOptim does the same thing: http://imageoptim.com/

What really looks amazing is Mirage which "automatically resizes images for optimal display based on the screen size of your visitors' device." I haven't tried since I'm on a free plan, but that kind of server-side automatic resizing looks like the perfect solution to optimize loading time on mobile / responsive sites.


#12482 How can I delete 'default' language?

Posted by jacmaes on 07 June 2012 - 12:44 PM

Man, that was so obvious, I feel like a fool. Thanks, apeisa. As always, PW is simpler than you'll assume it is.


#8596 Spanish es-ES

Posted by jacmaes on 28 February 2012 - 11:41 AM

Here's my first draft for the Spanish translation. Please note that:
  • It's fairly complete, but not quite ready for production. Spanish is not my mother tongue (I'm French), but I've been living in Spain for 10 years so it should be acceptable. Contributions and suggestions are welcome. I will post updates as necessary.
  • This is Spanish for Spain. Some parts of the translations might not be appropriate in South American countries for example. In particular, I've used the less formal, more direct version of "you": "tú" as opposed to "usted", which is much more common in Spain.
  • I love ProcessWire and I'm glad I can contribute to this awesome project.

Attached Files