Re: [PHP-DOC] SVN Account Request: alejandrorodas

2011-12-12 Thread Hannes Magnusson
Nice work \o/

-Hannes

On Mon, Dec 12, 2011 at 04:55, Yago Ferrer  wrote:
> Hannes,
> All new members are committing their own files. I wrote a guide specific to
> help them after they get their own account. They are also subscribed to this
> E-Mail list.
> BTW: we have already translated 80%!
>
> If you are the administrator of another language I recommend you to write a
> few words in the credits page to get other people to help: It REALLY
> helps. This is how I´m getting most of the new members.
> (see http://www.php.net/manual/es/)
>
> Thanks!
>
> Yago
>
> On Sun, Dec 11, 2011 at 3:40 AM, Hannes Magnusson
>  wrote:
>>
>> Approved.
>>
>> There are now _bucket load_ of people with spanish translation karma..
>> are all these new members active?
>> Giving people svn account as a price for having translated several
>> files is ok, but if they then never commit anything then it defeats
>> the purpose of having svn account..
>>
>> -Hannes
>>
>> On Sat, Dec 10, 2011 at 03:28, Yago Ferrer  wrote:
>> > Can you please active this account?
>> >
>> > Thanks!
>> >
>> > Yago
>> >
>> > 2011/12/7 Yago Ferrer 
>> >>
>> >> Philip,
>> >>
>> >> Can you please activate Alejandro´s SVN account?
>> >> He said that many students at his university of computer science are
>> >> taking advantage of our work and now its time for him to give back.
>> >>
>> >> These are the files he translated so far:
>> >> /es/reference/pdo/prepared-statements.xml
>> >> /es/reference/pdo/pdo/lastinsertedid.xml
>> >> /es/reference/pdo/pdo/prepare.xml
>> >> /es/reference/pdo/pdo/query.xml
>> >> /es/reference/pdo/pdo/quote.xml
>> >>
>> >> Please find the files attached.
>> >>
>> >> Thank you!
>> >>
>> >> Yago
>> >>
>> >>
>> >> On Tue, Dec 6, 2011 at 4:44 AM, Alejandro Rodas 
>> >> wrote:
>> >>>
>> >>> I would like to have an SVN account to help with the Spanish
>> >>> translation
>> >>> of the PHP Manual.
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Yago Ferrer
>> >
>> >
>> >
>> >
>> > --
>> > Yago Ferrer
>
>
>
>
> --
> Yago Ferrer


Re: [PHP-DOC] SVN Account Request: alejandrorodas

2011-12-11 Thread Yago Ferrer
Hannes,
All new members are committing their own files. I wrote a guide specific to
help them after they get their own account. They are also subscribed to
this E-Mail list.
BTW: we have already translated 80%!

If you are the administrator of another language I recommend you to write a
few words in the credits page to get other people to help: It REALLY
helps. This is how I´m getting most of the new members. (see
http://www.php.net/manual/es/)

Thanks!

Yago

On Sun, Dec 11, 2011 at 3:40 AM, Hannes Magnusson <
hannes.magnus...@gmail.com> wrote:

> Approved.
>
> There are now _bucket load_ of people with spanish translation karma..
> are all these new members active?
> Giving people svn account as a price for having translated several
> files is ok, but if they then never commit anything then it defeats
> the purpose of having svn account..
>
> -Hannes
>
> On Sat, Dec 10, 2011 at 03:28, Yago Ferrer  wrote:
> > Can you please active this account?
> >
> > Thanks!
> >
> > Yago
> >
> > 2011/12/7 Yago Ferrer 
> >>
> >> Philip,
> >>
> >> Can you please activate Alejandro´s SVN account?
> >> He said that many students at his university of computer science are
> >> taking advantage of our work and now its time for him to give back.
> >>
> >> These are the files he translated so far:
> >> /es/reference/pdo/prepared-statements.xml
> >> /es/reference/pdo/pdo/lastinsertedid.xml
> >> /es/reference/pdo/pdo/prepare.xml
> >> /es/reference/pdo/pdo/query.xml
> >> /es/reference/pdo/pdo/quote.xml
> >>
> >> Please find the files attached.
> >>
> >> Thank you!
> >>
> >> Yago
> >>
> >>
> >> On Tue, Dec 6, 2011 at 4:44 AM, Alejandro Rodas 
> >> wrote:
> >>>
> >>> I would like to have an SVN account to help with the Spanish
> translation
> >>> of the PHP Manual.
> >>>
> >>
> >>
> >>
> >> --
> >> Yago Ferrer
> >
> >
> >
> >
> > --
> > Yago Ferrer
>



-- 
Yago Ferrer


Re: [PHP-DOC] SVN Account Request: alejandrorodas

2011-12-11 Thread Hannes Magnusson
Approved.

There are now _bucket load_ of people with spanish translation karma..
are all these new members active?
Giving people svn account as a price for having translated several
files is ok, but if they then never commit anything then it defeats
the purpose of having svn account..

-Hannes

On Sat, Dec 10, 2011 at 03:28, Yago Ferrer  wrote:
> Can you please active this account?
>
> Thanks!
>
> Yago
>
> 2011/12/7 Yago Ferrer 
>>
>> Philip,
>>
>> Can you please activate Alejandro´s SVN account?
>> He said that many students at his university of computer science are
>> taking advantage of our work and now its time for him to give back.
>>
>> These are the files he translated so far:
>> /es/reference/pdo/prepared-statements.xml
>> /es/reference/pdo/pdo/lastinsertedid.xml
>> /es/reference/pdo/pdo/prepare.xml
>> /es/reference/pdo/pdo/query.xml
>> /es/reference/pdo/pdo/quote.xml
>>
>> Please find the files attached.
>>
>> Thank you!
>>
>> Yago
>>
>>
>> On Tue, Dec 6, 2011 at 4:44 AM, Alejandro Rodas 
>> wrote:
>>>
>>> I would like to have an SVN account to help with the Spanish translation
>>> of the PHP Manual.
>>>
>>
>>
>>
>> --
>> Yago Ferrer
>
>
>
>
> --
> Yago Ferrer


Re: [PHP-DOC] SVN Account Request: alejandrorodas

2011-12-09 Thread Yago Ferrer
Can you please active this account?

Thanks!

Yago

2011/12/7 Yago Ferrer 

> Philip,
>
> Can you please activate Alejandro´s SVN account?
> He said that many students at his university of computer science are
> taking advantage of our work and now its time for him to give back.
>
> These are the files he translated so far:
> /es/reference/pdo/prepared-statements.xml
> /es/reference/pdo/pdo/lastinsertedid.xml
> /es/reference/pdo/pdo/prepare.xml
> /es/reference/pdo/pdo/query.xml
> /es/reference/pdo/pdo/quote.xml
>
> Please find the files attached.
>
> Thank you!
>
> Yago
>
>
> On Tue, Dec 6, 2011 at 4:44 AM, Alejandro Rodas wrote:
>
>> I would like to have an SVN account to help with the Spanish translation
>> of the PHP Manual.
>>
>>
>
>
> --
> Yago Ferrer
>



-- 
Yago Ferrer


Re: [PHP-DOC] SVN Account Request: alejandrorodas

2011-12-07 Thread Yago Ferrer
Philip,

Can you please activate Alejandro´s SVN account?
He said that many students at his university of computer science are taking
advantage of our work and now its time for him to give back.

These are the files he translated so far:
/es/reference/pdo/prepared-statements.xml
/es/reference/pdo/pdo/lastinsertedid.xml
/es/reference/pdo/pdo/prepare.xml
/es/reference/pdo/pdo/query.xml
/es/reference/pdo/pdo/quote.xml

Please find the files attached.

Thank you!

Yago

On Tue, Dec 6, 2011 at 4:44 AM, Alejandro Rodas  wrote:

> I would like to have an SVN account to help with the Spanish translation
> of the PHP Manual.
>
>


-- 
Yago Ferrer





http://docbook.org/ns/docbook"; xmlns:xlink="http://www.w3.org/1999/xlink";>
 Sentencias preparadas y procedimientos almacenados
 
  Muchas de las bases de datos más maduras soportan el concepto de sentencias preparadas.
  Pueden definirse como un tipo de plantillas compiladas para SQL que las aplicaciones desean
  ejecutar, que pueden ser personalizadas usando parámetros variables. Las sentencias preparadas
  ofrecen dos grandes beneficios:
 
 
  
   
La consulta sólo necesita ser interpretada (o preparada) una vez, pero puede
ser ejecutada en múltiples ocasiones con los mismos o diferentes parámetros.
Cuando la consulta es preparada, la base de datos analizará, compilará y 
optimizará su plan para ejecutar la consulta. Para consultas complejas este
proceso puede tomar suficiente tiempo como para que ralentice
notablemente una aplicación si se necesita repetir la misma consulta muchas
veces con los mismos parámetros. Usando una sentencia preparada la aplicación
evita repetir el ciclo de análisis/compilación/optimización. Esto significa
que las sentencias preparadas usan menos recursos y se ejecutan más rápidamente.
   
  
  
   
Los parámetros para las sentencias preparadas no necesitan estar entrecomillados;
el driver automáticamente se encarga de esto. Si una aplicación usa exclusivamente
sentencias preparadas, el desarrollador puede estar seguro de que no ocurrirán
inyecciones SQL (sin embargo, si otras partes de la consulta se construyen con
datos de entrada sin escapar, las inyecciones SQL pueden ocurrir).
   
  
 
 
  Las sentencias preparadas son tan útiles que son la única característica que PDO
  emulará para drivers que no las soporten. Esto asegura que una aplicación será capaz
  de usar el mismo paradigma de acceso a datos independientemente de las capacidades
  de la base de datos.
 
 
  
   Múltiples inserts usando sentencias preparadas
   
Este ejemplo realiza dos consulta de tipo INSERT sustituyendo name
y value por los valores equivalentes.
   
   

   
  
 
 
  
   Múltiples inserts usando sentencias preparadas
   
Este ejemplo realiza dos consultas de tipo INSERT sustituyendo name
y value por el parámetro de sustitución?.
   
   

   
  
 
 
  
   Buscar datos usando sentencias preparadas
   
Este ejemplo busca datos basándose en un valor clave proporcionado por un formulario.
Los datos de usuario son automáticamente entrecomillados, con lo cual no hay
riesgo de un ataque por inyección SQL.
   
   

   
  
 
 
  Si el driver de la base de datos lo soporta, una aplicación puede también enlazar
  parámetros de salida al igual que para entrada. Los parámetros de salida son
  típicamente usados para recuperar valores de procedimientos almacenados. Los
  parámetros de salida son ligeramente más complejos de usar que los de entrada, de
  manera que el desarrollador debe saber cuánto de grande puede ser un parámetro
  cuando se enlaza. Si el valor resulta ser más grande que el tamaño que se ha
  supuesto, se eleva un error.
 
 
 
  
   Llamar a un procedimiento almacenado con un parámetro de salida
   

   
  
 
 
 
  Los desarrolladores pueden también especificar parámetros que contendrán valores
  tanto de entrada como de salida; la sintaxis es similar a la de los parámetros
  de salida. En el siguiente ejemplo, la cadena 'hello' es pasada al procedimiento
  almacenado, y cuando éste finaliza, 'hello' es reemplazada con el valor de retorno
  del procedimiento.
 
 
 
  
   Llamar a un procedimiento almacenado con un parámetro de entrada/salida
   

   
  
 
 
  
   Uso inválido de un parámetro de sustitución
   

   
  
 









http://docbook.org/ns/docbook";>
 
  PDO::lastInsertId
  
   Devuelve el ID de la última fila o secuencia insertada
  
 
 
  &reftitle.description;
  
   stringPDO::lastInsertId
   stringname&null;
  

  
   Devuelve el ID de la última fila insertada, o el último valor de una
   secuencia de objetos, dependiendo del driver subyacente. Por ejemplo,
   PDO_PGSQL requiere especificar el nombre de la
   secuencia de objetos para el parámetro name.
  
  
   
Este método puede no devolver resultados significativos o consistentes
para diferentes drivers PDO, debido a que la base de datos subyacente puede no
soportar el concepto de campos au

[PHP-DOC] SVN Account Request: alejandrorodas

2011-12-06 Thread Alejandro Rodas
I would like to have an SVN account to help with the Spanish translation of the 
PHP Manual.