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

Share Button

How did Google Instant become Faster with 5-7X More Results Pages?

We don’t have a lot of details on how Google pulled off their technically very impressive Google Instant release, but in Google Instant behind the scenes, they did share some interesting facts: Google was serving more than a billion searches per day. With Google Instant they served 5-7X more results pages than previously. Typical search results wer …

Post original

Share Button

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

Share Button

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

Share Button

¿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?

Share Button

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

Share Button

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 '<link rel="stylesheet" href="'.get_bloginfo('wpurl').'/wp-content/plugins/miplugin/css/estilo.css" />';
}
 
function incluir_script() {
  echo '<script type="text/javacript" src="'.get_bloginfo('wpurl').'/wp-content/plugins/miplugin/js/script.js" ></script>';
}

Así de sencillo.

Share Button

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

Share Button

PHPBuilder.com: Downloading and Parsing Gmail Messages in PHP

New on PHPBuilder.com today there’s a tutorial showing you how to download and parse messages from Google Mail. In their case it’s grabbing and parsing submissions from a form. Some friends of mine publish a literary journal that accepts submissions via email. At their request I wrote a script to download messages from the journal’s Gmail account a …

Post original

Share Button

NoSQL databases: 10 Things you Should Know About Them

NoSQL databases: 10 Things you Should Know About Them: 5 pros and 5 cons by Guy Harrison: Five advantages of NoSQL Elastic scaling Big data Goodbye DBAs (see you later?) Economics Flexible data models Five challenges of NoSQL Maturity Support Analytics and business intelligence Administration Expertise A few amendments though: Elastic scaling: part …

Post original

Share Button