Gonium has new blogGonium tiene nuevo blog

Since I have the space, I will use it.

One place, to explain things

While I do not have a blog module functional for Gonium, I have no further use the enemy (WordPress). Which is not bad at all, but just the opposite.

gonium_blog_120x60

While I do not have a blog module functional Gonium, I have no further use to the enemy (WordPress). Which is not bad at all, but just the opposite.

An important detail: the blog, the project on Google Code, the messages on Twitter, the svn commits and autogenerada API documentation, all will remain mainly in English.

The reason for this is simple: universality. Unfortunately, although I do not like the idea, English is the most universal. Not because of Chilean origin, I would like just a few friends try it. I hope that everyone has the possibility to use it. Who tells me that someone is already looking at the code? And if someone spoke in Italian? Or French? Or German? Or Chinese?

Moreover, the experience in the GDT, I noticed the users (mostly Spanish-speaking), the displeasure of using classes / objects and methods named in Spanish. I do not understand these odd habits, but they are frequent and widespread. In fact, Eduardo Silva, in his speech at the Monkey HTTP Daemon at Linux Meeting, mentioned the same problem with its Spanish-speaking users, so he decided to simply leave the mailing list, blog, documentation, etc. in English. This time, take the same idea and I will see what happens.

For now, I do not expect an explosion of users, while functional version lacking, but I hope ideas, comments and general feedback. I have been asking things like «Are you recruiting people?» This is a relief for those minutes that I question the «What the hell am I doing something that only I care.» If anything, I am recruiting people :B . Zend Framework Developers? Welcome! Any contribution will be equally well received, either from a PHPers, jQueryst, CSSers, Translator, Web Designer or Artist are fully welcome.

Ya que tengo espacio, hay que aprovecharlo.

Un lugar donde explicar las cosas

Mientras no tengo un módulo de para blogear funcional en Gonium, no me queda otra que usar al enemigo (WordPress). Lo cual no es del todo malo, sino justamente lo contrario.

gonium_blog_120x60

La idea de tener un blog exclusivamente para el desarrollo de Gonium, me permitirá poder dejar en claro cuales son las ideas que se están implementando o se desarrollaran a futuro, allá en su propio lugar. Hay mucho por hacer, por lo tanto, mantener una bitácora de desarrollo (más que un precario Roadmap), espero me sirva mucho más.

Un detalle importante: el blog, el proyecto en Google en Code, los mensajes en Twitter, los commits de svn e incluso la documentación autogenerada del API, se mantendrán todos en idioma inglés principalmente.

La razón de esto es muy sencilla: universalidad. Aunque no me gusta la idea, lamentablemente en comunicaciones, el inglés es lo más universal. No por ser de origen chileno quisiera que solo algún amigo mío de acá lo ocupe. Espero que a todo a quien le sirva tenga la posibilidad de ocuparlo. ¿Quien me dice que alguien por ahí no estará ya husmeando el código? ¿Y si este alguien hablara en italiano? ¿O francés? ¿o alemán? ¿o chino?

Además, habiendo tenido experiencia en el proyecto GDT, noté como muchos usuarios, aun cuando en su mayoría se trataba de hispano-parlantes, simplemente no les gustó la idea de usar objetos y métodos nombrados en español. No entiendo estas mañas, pero se que son frecuentes y extendidas. De hecho, Eduardo Silva, en su charla de Monkey HTTP Daemon en el Encuentro Linux, mencionó haber tenido ese problema con los hispano-parlantes, así que decidió simplemente dejar todo, lista de correo, blog, documentación, etc, en inglés. Esta vez, adoptaré la misma idea y veré que sucede.

Por el momento, no espero una explosión de usuarios, ni mucho menos mientras la versión funcional brilla por su ausencia, pero sí espero ideas, comentarios y en general feedback. Ya me han estado preguntando cosas como «¿estás reclutando gente?», lo cual es un alivio para esos minutos en que me cuestiono el «¿para que diablos estoy haciendo algo que solo me importa a mí?». Por si acaso, sí estoy reclutando gente :B . ¿Desarrolladores en Zend Framework? Bienvenidos! Cualquier tipo de aporte será igualmente bien recibido, ya sea de parte de un PHPero, jQuerysta, CSSero, Traductor, Diseñador o Artísta son plenamente bienvenidos.

Confirming what I thought

Through all this, I had an occurrence like «oh, what if I do the same template Gonium but for wordpress.» That is enough to get a little hand in creating a theme. Once again confirm what I thought long ago about wordpress: is spaghetti.

It really is one of the APIs (if it can even call his «codex») most horrific I have seen. Because I participate in tecnosquad.org spend a day for «the epic quest for a new theme», that afternoon I collected a lot of attractive themes, and saved» just in case. » Finally we found nothing we do feel that «wow, this themes looks like perfect for tecnosquad», but the search also brought me a good result.

I took one of those issues to code my own. That was when I noticed the importance of certain details.

The first is about the size of a theme. For example the most «professionals» often have more files, and even allow you to add option panels to the wordpress backend. These extra files, themes define their own functions, which have no common interface, each item implements his things to his liking. Some wore classes/objects, but most just loose functions.

Another important detail is that even if the «kernel» for templates are documented, just read a source file is chaotic. Almost none of pulchritude, I would even venture that none of the themes I downloaded (and there were many), not even had the code properly indented.

One of the first things I learned with the Zend Framework, was the «Two Steps» design pattern for templates: a template layout that creates the skeleton of the page, and then add the content on this layout, which may come from other view scripts. In wordpress, there is simply no such thing. I did not look inside the code, but what I saw on the outside (templates), I want to give more «complete» once the first version of usable Gonium. I’m sure it would be a delight for designers.

Later, when I already can blogging calm in Gonium, I will migrate the content and I will reject wordpress. The main idea is more alive than ever: the objective is to create an content manager system of general porpuse, but WELL DONE.

Confirmando lo que pensaba

Gracias a todo esto, tuve una ocurrencia del tipo «oh, ¿y si hago que el template de wordpress sea el mismo que el de Gonium?». Con eso basto para ponerme a meter un poco de mano en la creación de un tema. Nuevamente confirmo lo que pensé hace mucho tiempo atrás acerca de wordpress, es espagetti.

Realmente es una de las APIs (si es que puede siquiera llamarse así a su «codex») más espantosas que he visto. Gracias a que participo en tecnosquad.org y a que dedicamos un día para «la épica búsqueda de un tema nuevo», fue como aquella tarde recolecte bastantes temas atractivos y los guarde «por si acaso». Finalmente no encontramos nada que nos hiciera sentir ese «wow, es tema está pintado para tecnosquad», pero igualmente la búsqueda me trajo un buen producto.

Ocupe uno de esos temas para codear el mio. Entonces fue cuando note la importancia de ciertos detalles.

El primero es sobre el tamaño de un tema. Por ejemplo los temas más «profesionales» suelen tener más archivos e incluso permiten agregar paneles de opciones al backend de wordpress. En esos archivos extra, los temas definen sus propias funciones, las cuales no tienen ninguna interfaz común, cada tema implementa sus cosas a su pinta. Algunos usaban clases/objetos, pero la mayoría solo funciones sueltas.

Otro detalle importante, es que aun cuando las funciones «del núcleo» para plantillas están documentadas, el solo hecho de leer un archivo fuente resulta caótico. Casi nada de pulcritud, incluso me atrevo a aventurar que ningún tema de los que termine bajando (y fueron muchos), ni si quiera tenían el código propiamente indentado.

Una de las primeras cosas que aprendí con el Zend Framework, fue el patrón de diseño «Two Steps» para plantillas, es decir, una plantilla «layout» que crea el esqueleto de la página, y luego se agregan los contenidos sobre este layout, que pueden provenir de otros scripts de vista. En wordpress, simplemente no existe tal cosa. No quise mirar más hacia adentro del código, pero lo que vi por fuera (las plantillas), me dan más ganas de «terminar» de una vez una versión usable de Gonium. Estoy seguro que sería una delicia para los diseñadores.

Más tarde, cuando ya pueda blogear tranquilo en Gonium, migraré el contenido y me desharé del wordpress. La idea principal está más viva que nunca: el objetivo es crear un administrador de contenido de propósito general, pero BIEN HECHO.

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.