Recopilatorio 2008 de PHP Senior

El blog de php senior siempre me ha gustado por las conclusiones sacadas directamente de la experiencia de su autor 😀

Hace tiempo descubrí un pequeño índice/recopilatorio que sintetiza de alguna forma todo lo que nos falta a los desarrolladores PHP para poder empezar a considerarnos «Seniors».

Esto es lo que el autor ha aprendido con los años y ha intentado compartir, tratando de lograr conciencia de nuestras carencias y que no podemos quedarnos solo con aprender la sintaxis particular de un lenguaje. Tenemos que romper con el modelo clásico de «programador» («dominio del lenguaje») y pasar a «desarrollador» («dominio del sistema»).

Los artículos fundamentales hasta julio 2008

  1. Los desarrolladores debemos profesionalizarnos
  2. Buenas Prácticas de Desarrollo en PHP
  3. Code Smell – ¿A qué huele tu código?»
  4. Principios de Diseño Orientado a Objetos
  5. Programación Orientada a la Interface
  6. Herencia de clases y el «Principio de Liskov»
  7. Diseño en 3 capas
  8. Separar el código de la capa de presentación
  9. NO es necesaria la herencia múltiple
  10. NO es necesario crear un nuevo framework
  11. Capas de Abstracción
  12. Diferencias entre Lenguajes y Plataformas
  13. Estándares o muerte… para PHP
  14. Cómo traducir de UML a PHP5
  15. Los métodos «getter / setter»
  16. Standard PHP Library
  17. Patrones de Diseño
  18. Patrón Singleton en un entorno web con PHP
  19. Es fundamental contar con namespaces
  20. Migrar definitivamente a PHP5
  21. PHP Coding Standard (draft)
  22. Seven Steps to Better PHP code – part 1
  23. Seven Steps to Better PHP code – part 2

Pueden visitar el recopilatorio directamente desde Guías que debe seguir un ‘PHP Senior’

Fuente : phpsenior.blogspot.com

Sacar caracteres aleatorios visual basic 6

Una funcioncita bastante simple que devuelve caracteres aleatorios de una cadena.

'cadena de la que tomamos los caracteres
Private Const c_caracteres = "ABCDEFGHIJKLMNÑOPQRSTUVWXYZ1234567890abcdefghijklmnñopqrstuvwxyz"

'parámetros opcionales'cuantos caracteres necesitas y la ubicación de la cadena de donde sacarlos
Private Function dame_text_rnd(optional cuantos As Integer=1, optional cadena as string=c_caracteres) As String
Dim i As Integer
Dim longitud as integer
longitud=Len(cadena)
Randomize   For i = 1 To cuantos
dame_text_rnd = dame_text_rnd && Mid(cadena, Int((longitud * Rnd) + 1), 1)
Next i
End Function

Lenguajes de Programación Septiembre

Fuente: Tiobe

Position
Aug 2008
Position
Aug 2007
Delta in Position Programming Language Ratings
Aug 2008
Delta
Aug 2007
Status
1 1 Same Popularity of Programming Languages by August 2008 Java 21.571% -0.20% A
2 2 Same Popularity of Programming Languages by August 2008 C 16.178% +0.48% A
3 3 Same Popularity of Programming Languages by August 2008 (Visual) Basic 10.857% +0.21% A
4 4 Same Popularity of Programming Languages by August 2008 C++ 10.057% -0.05% A
5 5 Same Popularity of Programming Languages by August 2008 PHP 9.349% -0.35% A
6 8 Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008 Python 4.975% +2.23% A
7 6 Down Popularity of Programming Languages by August 2008 Perl 4.694% -0.63% A
8 7 Down Popularity of Programming Languages by August 2008 C# 3.697% -0.29% A
9 10 Up Popularity of Programming Languages by August 2008 Ruby 2.920% +1.01% A
10 9 Down Popularity of Programming Languages by August 2008 JavaScript 2.892% +0.32% A
11 14 Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008 Delphi 2.732% +1.51% A
12 13 Up Popularity of Programming Languages by August 2008 D 1.357% +0.11% A
13 11 Down Popularity of Programming Languages by August 2008Down Popularity of Programming Languages by August 2008 PL/SQL 0.679% -1.15% A-
14 12 Down Popularity of Programming Languages by August 2008Down Popularity of Programming Languages by August 2008 SAS 0.549% -0.84% B
15 Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008 PowerShell 0.440% +0.44% B
16 24 Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008 Pascal 0.416% +0.00% B
17 18 Up Popularity of Programming Languages by August 2008 Lisp/Scheme 0.379% -0.21% B
18 15 Down Popularity of Programming Languages by August 2008Down Popularity of Programming Languages by August 2008Down Popularity of Programming Languages by August 2008 Lua 0.373% -0.27% B
19 16 Down Popularity of Programming Languages by August 2008Down Popularity of Programming Languages by August 2008Down Popularity of Programming Languages by August 2008 COBOL 0.358% -0.24% B
20 23 Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008Up Popularity of Programming Languages by August 2008 ActionScript 0.355% -0.07%

Los lenguajes de programación más utilizados

Más que los lenguajes más utilizados el título debería de ser los lenguajes con más lineas de código.

Position
Oct 2007
Position
Oct 2006
Delta in Position Programming Language Ratings
Oct 2007
Delta
Oct 2006
Status
1 1 Java 21.616% +0.44% A
2 2 C 14.591% -3.07% A
3 5 (Visual) Basic 11.166% +1.44% A
4 3 C++ 9.584% -1.48% A
5 4 PHP 9.498% -0.36% A
6 6 Perl 5.351% -0.12% A
7 8 C# 3.740% +0.68% A
8 7 Python 3.433% -0.03% A
9 9 JavaScript 2.685% +0.48% A
10 13 Ruby 2.386% +1.30% A
11 12 PL/SQL 1.966% +0.87% A
12 15 D 1.594% +0.96% A
13 10 Delphi 1.539% -0.61% A
14 11 SAS 1.383% -0.67% A
15 14 ABAP 0.849% +0.20% A-
16 18 COBOL 0.683% +0.14% B
17 48 Lua 0.596% +0.53% B
18 16 Lisp/Scheme 0.572% -0.05% B
19 17 Ada 0.559% 0.00% B
20 21 Fortran 0.446% +0.05% B

Fuente TIOBE