ONPv2: almost 1 year without a stable version
Translation of the original in Catalan. Read it in: CatalàCastellano
ONP (Oriol News Portal) the portal software and the portal itself turn 1 year old this month. Although the portal has been stuck for a long time in version 0.0.5 it is still not very fine in certain aspects as you can check quite often...
so since the code is a whole odyssey and I do not like at all the structuring of it which as you already know is based on the code of MyNews I have decided to start it again.
After the experience with object oriented code and PHP3 to develop the libraries of a calendar, which you can find in Proyectos I have decided to follow the same structure for the new code of the portal.
Yesterday I started programming like a desperate man all afternoon and until now. I have programmed some libraries of 92kb in PHP4 that are dedicated to establishing a model of objects from which it is very easy to handle the elements of the portal: comments, articles and accesses to the database.
Obviously it is all in a very much development version, but I am quite happy with the result and the application of the functions is almost immediate with this new structure.
Later I will comment on the novelties of this new version of the portal that I am preparing and that will come out under the name of ONPv2 since it means a change from the root with everything that it is and will become the portal from the new version onwards.
Without more I am off to the shower and to bed as it is terribly hot.
6 comments
Comments from the old blog, as they were written. Comments are closed.
Oriol Rius
Avui he seguit programant la versió 2 del portal. Com ja diu el titol
del comentari ja porto 204Kbytes de codi. Encara esta lluny d'arribar a la
seva fi, tot això, però si continuo a aquest ritme pel dia 31
(dia del primer aniversari del portal) ja tindré la nova versió
almenys en versió "Frozen".
Avui he estat implementant els templates (plantilles) per tal d separar el
disseny HTML del codi PHP del portal. També he perfeccionat les
llibreries q vaig implementar ahir i n'he fet d noves.
Oriol Rius
Avui he arribat d la platja, després de dos dies de relax a la platja i
la piscina, he arribat i he vit q q linuxsecurity hi havia una
referència a un article q comentava errors comuns en la
programació d'aplicacions en PHP, és molt molt molt molt
interessant i recomanable llegir-lo si penseu escriure alguna aplicació
en PHP, l'article està a:
http://www.securereality.com.au/studyinscarlet.txt
Sobre el codi del portal (ONPv2) comentarà que ja porto 260kb y q estic
treballant en la gestió d'usuaris, autenticació i sessions dels
mateixos.
Oriol Rius
Després de tenir el projecte mig-off durant tota la setmana pq estava al
curs de seguretat, m'he passat gran part del ca d setmana programant i
dissenyant el codi del ONPv2, ja porto 348kb i en aquests moments estic
implmentat la gestió d'usuaris, grups d'usuaris, seccions, permisos de
les seccions i integrant tot el sistema d'autenticació i gestió
de sessions del portal.
Oriol Rius
Després d diversos dies amb problemes amb el disseny d
l'aplicació per tal d mantenir el suport amb tot el q tenia previst des
d'un inici. Avui amb febre i molt mal d cap: m'he passat el dia desenvolupant
i millorant el portal, ara controlat per un CVS.
De moment no està accessible per tothom aquest CVS, però en breu
espero q ho estigui pq tothom pugui seguir les evolucions del codi.
claudia
¿ q significa ONP?
—
[5] ONP = Oriol News Portal