lunes, 19 de septiembre de 2011

Zend Studio 7.0 en Linux

Para poder desarrollar en php comodamente baje el Zend Studio.



ZendStudio 7.0 BETA con su Keygen de por vida, y para completar junto a su ZendServer.

Esta es la Version para linux.

Pequeñas y breves instrucciones para su instalación:

Primero que nada Descargen el Paquete de abajo.
Descarga: Zend Studio 7.0 con KeyGen y ZendServer 4.0 (para linux)

- Después de descargarlo, extraigan todo el contenido que debe tener 1 archivo .bin llamado ZendStudio7_0_0.bin , y 2 carpetas , una del Keygen para el ZendStudio y otra del ZendServer

Instalen ZendStudio 7.0
- Abre una cosola y navega con $cd hasta la carpeta donde esta el archivo ZendStudio7_0_0.bin
- Ejecuta ./ZendStudio7_0_0.bin alli comenzara a extraer y chekar y una pila de cosas

webmaster@webmaster-desktop:~/Escritorio$ ./ZendStudio7_0_0.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

- Despues de todo ese proceso saldra un instalador con interfaz grafica donde solo sera dar siguiente -> siguiente -> siguiente ->

Ponle su Serial
- Navega con $cd hasta la carpeta donde esta el Keygen,
- Ejecuta dentro ./zde_keygen.sh
webmaster@webmaster-desktop:~/Escritorio/zde_7beta_keygen$ ./zde_keygen.sh
[[ Zend Studio for Eclipse (v7.0 Beta) Keygen by Cthulhon ]]
Username:

- Te acuerdas en guindous? pues aki es lo mismo pon tu nombre y te generara un numero de serie
- Abre el ZendStudio y ve a help -> Register alli pones tu nombre y el serial generado con el Keygen.

Listo ya tienes el ZendStudio 7.0 forever
Seguro que cada vez que abriste el ZendStudio te dijo ke no encontro ningun ZendServer instalado no?

Instalar ZendServer
- Navega con $cd hasta la carpeta donde esta ZendServer
- Ejecuta dentro sudo ./install.sh
webmaster@webmaster-desktop:~/Escritorio/ZendServer-4.0.4RC10-linux-glibc23-i386$ sudo ./install.sh
[sudo] password for webmaster:
Welcome to ZendServer installation !
Please specify an installation path [/usr/local]:

Extracting files to /usr/local/zend...

listo ya tienes todo instalado podras entrar ahora a la interfaz de administracion web del ZendServer con http://localhost:10081

kieres mas? preguntale a San Google
 

sábado, 3 de septiembre de 2011

Emoticones ascii

;)
A menos de que seamos poetas, el texto escrito siempre resultará mucho más frío que una conversación, porque no es fácil imprimirle algún sentimiento a las letras. Por eso fueron creados los emoticonos.
Todos conocemos los clásicos:
:) (alegre)
:( (triste)
:D (risa)
xD (mucha risa)
;) (guiño)
:P (sacando la lengua)
:0 (sorprendido)
:s (verguenza)
También los de estilo manga japonés, que se caracterizan por estar ‘parados’, se están haciendo populares:
n_n (alegre)
u_u (triste)
^_^ (muy alegre)
T_T (llorando)
O.O (sorprendido)
O.o (desconcertado)
@_@ (loco)
d(-_-)b (escuchando música)
¬ ¬ (dudando | mirando con los ojos entrecerrados)
Pero cuando se combina mucho tiempo libre y bastante imaginación, pueden surgir emoticonos tan curiosos como éstos:
+-:-) (el papa)
~<:-) (payaso)
:[ (vampiro)
Q:) (Osama Bin Laden)
*<|:o)> (Santo Claus)
@@@@:^) (Marge Simpson)
( 8(|) (Homero Simpson)
[+ [__]::] (Nintendo DS)
d:-)-<–<|8 (Skater)
=|:-)= (Tío Sam)
C|:-= (Charles Chaplin)
%-~ (Pablo Picasso)
=^..^= (gato)
:Pd: (beso de lengua)
@}->– (rosa)
[:|] (robot)
l,lO (retrete)
Si tienen algún otro emoticon curioso que compartir no duden en comentarlo.

jueves, 1 de septiembre de 2011

Grid con php

Fuente: http://www.eyesis.ca/projects/datagrid.html


PHP > Eyesis Data Grid Control

The Eyesis Data Grid Control is all you need when it comes to displaying data from a MySQL database in tabular format. No flashy dynamic updating or complex Javascript, and no countless ambiguous classes cluttering up your project. This class is simple, small, feature packed, and easy to implement with only six lines of code, don't believe me? Check out the examples below!
There are plenty of PHP data grid controls out there, but none that could satisfy me. I use data grids on almost every web site I develop. They come in great for displaying all kinds of data. I developed this data grid to suit all my needs and more.
A few of the features include:
  • Filtering and searching capabilities
  • Ability to change column headers
  • Capable of displaying images
  • Ajax supported
  • Automatic row paging
  • Row selection
  • Supports MySQL database
  • Hide columns
  • Sort columns
  • Customizable look and feel through CSS
  • Can handle large data sets
  • Ability to add controls
  • Checkbox support
  • Specify column format types (such as percent, dollars, etc)
  • Tested working in Firefox 2 and 3, IE 6 and 7, Chrome, Safari 3, and Opera 9
  • PHP 5 only
  • Much more!
Check out HotScript:
Create dynamic-easy-to-use data grid controls for your web site in seconds!
Example 1
The above datagrid is built in only 6 lines of code!
<?php// file: ex1.phprequire 'class.eyemysqladap.inc.php';
require 
'class.eyedatagrid.inc.php';
// Load the database adapter$db = new EyeMySQLAdap('localhost''root''''people');
$dg = new EyeDataGrid($db); // Load the datagrid class
// Fetch all rows and columns from the `people` table
$dg->setQuery("*""people");
// Print the table$dg->printTable();
You can even make the above example Ajax enabled with 1 line of code!
<?php// file: ex1-ajax.phprequire 'class.eyedatagrid.inc.php';
// Just call one function and your table is now totally Ajax enabled!EyeDataGrid::useAjaxTable('ex1.php');

Demos

Example 1 - Basic DataGrid [View] [Source]
Example 1.5 - Basic DataGrid WITH AJAX [View] [Source]
Example 2 - Filters, Headers, Column Types [View] [Source]
Example 3 - More Features [View] [Source]
Example 4 - Row Selection [View] [Source]
Example 5 - Full Featured Ajax Demo [View] [Source]

Download

eyedatagrid-1.1.zip 93kb, v1.1.6, Released: 03-Dec-08