Nov
23

How to create a digg and sabros.us style pagination with PHP

I think that this entry is obsolete. If you are looking for a pagination control, you can read this article which is eaiser to implement.

I made a few modifications to the sabros.us’s pagination script, inspired by the original created by strangerstudios.com, it needs a detail, turn it into a dynamic and re-usable function without so much roll.

Now the form to use it is super simple, we just call the function pagination() with the next parameters:

  • Amount of pages
  • Items by page
  • Present page (or the one that is being seen)
  • The page to which it will send the parameter of the following one (previous, first, last) page(?page=X)
  • The amount of adjacent links to the present page
more…
Nov
22

Graficando Vectores con GD+PHP

Está vez solo quiero presumir una de las tantas aplicaciones en las que estoy trabajando actualmente (razón de mi ausencia :D eey aja eeey). Hace 3 meses que me inicié en la utilización de GD para mis experimentos de la facultad y bueeeno,… Esta vez se trata de una cosa no muy sencilla (me dio bastantes problemas):
Realizar un plano cartesiano que me permita realizar suma, resta y multiplicación de vectores, y permitiéndome verlos en la gráfica.
more…
Nov
21

El elemento más importante en una página Web de calidad

Despues de casi 13 días de inactividad en el blog del sitio he vuelto :D para volver a abandonarlo. <title>: El elemento más importante en una página Web de calidad El elemento <title> (título) de HTML está diseñado para proporcionar un pequeño texto que debería representar al documento en casos como:
  • Barras de título
more…
top