|

Steponas Kazakevicius’ Blog: Interruptable file download

Steponas Kazakevicius has written up a new tutorial about file uploading and, more specifically, making an upload tool that can handle interruptions. Have you ever been to a website that offers downloads of stuff? And while you are waiting for the download, there are lots of ads around? Sure you have. I have too. The last day I was downloading stuf …

Post original

|

Adding Stroke to Web Text

Fonts on the web are essentially vector based graphics. That’s why you can display them at 12px or 120px and they remain crisp and relatively sharp-edged. Vector means that their shape is determined by points and mathematics to describe the shape, rather than actual pixel data. Because they are vector, it would make sense if we could do things that …

Post original

|

Understanding and Applying Polymorphism in PHP

In object oriented programming, polymorphism is a powerful and fundamental tool. It can be used to create a more organic flow in your application. This tutorial will describe the general concept of polymorphism, and how it can easily be deployed in PHP. What is Polymorphism? Polymorphism is a long word for a very simple concept. Polymorphism descri…

Post original

|

How Well Does Your Browser Support HTML5?

The HTML5 test score is an indication of how well your browser supports the upcoming HTML5 standard and related specifications. Despite these shortcomings they hope that by quantifying the level of support users and web developers will get an idea of how hard the browser manufacturers work on improving their browsers and the web as a development …

Post original

¿Por qué usar Drupal o Joomla si se puede usar WordPress?

Hoy tengo unas cuantas preguntas. El otro día un amigo me preguntaba qué usar para hacer la web de un cliente que le pedía entre otras cosas un foro, blog, eventos, … Mi primer pensamiento fue para Drupal, pero hay un plugin para WordPress que te permite un foro, hay otro para eventos, … Total, que le di unas cuantas vueltas al asunto de hacer webs y pensé que normalmente la gente piensa en WP únicamente para blogs y poca cosa más, pero creo que actualmente se puede usar para la mayoría de las webs que se hacen. Hay que pensar que la mayoría de las webs tienen pocas funcionalidades.

Por eso me pregunto, ¿para que usar Joomla o Drupal? Sinceramente no me gusta nada Joomla, y aunque Drupal es bastante bueno, desarrollar para WordPress me parece más sencillo, me gustan los hooks y la facilidad de los plugins.

¿Qué opináis vosotros?

|

BonBon Buttons

These are way above and beyond the level of any other “CSS3 buttons” I’ve seen. Multiple backgrounds combining gradients and images, uneven border-radius, pseudo elements, HSL coloring, @font-face icons, transitions, box shadows, text shadows, hover and active states… the list goes on. Every trick in the book masterfully employed.They make my buttons …

Post original

Añadir estilos y scripts a la administración de plugins en WordPress

Cuando estamos desarrollando un plugin para WordPress y queremos que la administración del plugin tenga estilos y scripts propios, ya sea para darle cierta interactividad o diseño, o bien podremos incluir los estilos o librerías a pelo en la página del plugin, o bien podremos hacer que WordPress añada lo estilos y los scripts en el head del HTML. Para realizar esto, deberemos utilizar las acciones admin_print_styles y admin_print_scripts:

add_action('admin_print_styles', 'incluir_css');
add_action('admin_print_scripts', 'incluir_script');

function incluir_css() {
  echo '';
}

function incluir_script() {
  echo '';
}

Así de sencillo.

|

Scale-out vs Scale-up

In this post I'll cover the difference between multi-core concurrency that is often referred to as Scale-Up and distributed computing that is often referred to as Scale-Out mode.  more.. Source: Scale-out vs Scale-up (http://www.dzone.com/links/r/scaleout_vs_scaleup.html) by Nati Shalom …

Post original