[Lubuntu-desktop] LXDE project structure and organization.

2011-12-29 Thread Alexis Lopez Zubieta
Thanks for your advice Tim Bernhard, I know that the real world is quite 
diferent from what the books and the teacher says. But I think that a bit of 
organization could help a lot to the lxde project and to other open source 
projects.

Most of the open source projects are developed by comunities in close 
colaboration and exchange. Becoming this a root factor of the development 
process, projects without organization tend to by slow and hard to assimilate. 
As a newcomer to this world I found hard the task to understand and assimilate 
the existent code. So in my opinion the use of software engineering techniques 
could help to improve our productivity and the quality of the sotfware that is 
built. The simple aplication of a entire software development process 
(requirements gathering, desing and modeling, implementation, test) can improve 
the resulting software. The right application of theese techniques could mean 
also that we will save time in understanding and reusing the software created 
by others.

So I bring to you (project leaders, developers, the whole comunity) the 
proposal of spend a bit of time in not just commenting more our code but also 
follow theese basic engineering steps to create a better software for every 
body. Specialy I ask to the LXDE comunity to use it in the development of the 
new versions of the lxdepanel, pcmanfm, and other applications that will be 
built now on.

Greetings
--



University of Informatic Sciences (UCI) http://www.uci.cu
Nova Light Development Team http://www.nova.cu
Alexis López Zubieta azubi...@estudiantes.uci.cu





Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] [Lxde-list] About lxpanel2

2011-12-28 Thread Alexis Lopez Zubieta
Thanks for your replies Klaus Knopper and PCMan.
As I understood you are planing to use an structured approach to create 
lxpanel2 and the rest of the LXDE desktop environment.
Now I want to expose something. I'm an student of informatics engineering in 
the UCI where I learned to design and create applications with Object Oriented 
techniques. But when I came to the world of LXDE I found that there is not an 
object in the whole code and also I didn't find any design or model of the 
programs that you build.
So two questions come to me:
- Are you designing the aplications before start to write code?
- How do you do it? (wich engineering thechniques do you use?)

Regards
Alexis.

- Original Message -

From: PCMan pcman...@gmail.com
To: Klaus Knopper l...@knopper.net
Cc: Alexis Lopez Zubieta azubi...@estudiantes.uci.cu, lxde-list 
lxde-l...@lists.sourceforge.net, lubuntu-desktop 
lubuntu-desktop@lists.launchpad.net
Sent: Wednesday, December 28, 2011 4:58:39 AM
Subject: Re: [Lxde-list] About lxpanel2

If your object oriented refers to the programming language, I'm using Vala 
now, which is a OO language built on top of GObject/C runtime. The language 
itself is OO. This, however, does not mean that the program written in it will 
be OO.
I'm not a fan of making everything an object approach. No single programming 
style is best for all cases.
Using too much OO stuff in GObject will create extra overhead as its type 
system is all created at runtime.
Type-casting and virtual function calls sometimes requires looking up in 
tables. Signal emission in GObject/C
is also very inefficient, too. So basically, I'd avoid unnecessary OO 
whenever possible.


If the term object oriented here refers to making everything on the desktop 
an object, that's a totally different thing and is not related to language used.



On Wed, Dec 28, 2011 at 5:27 PM, Klaus Knopper  l...@knopper.net  wrote: 


Hi PCMan,


On Wed, Dec 28, 2011 at 03:21:02PM +0800, PCMan wrote:
 On Wed, Dec 28, 2011 at 11:05 AM, Alexis Lopez Zubieta

 [1] azubi...@estudiantes.uci.cu  wrote:

 I have a question about lxpanel2.
 Are you planing to make it using an object oriented approach?

 What do you mean by object oriented approach?
 I don't understand what you mean. Any examples?

I THINK he means whether or not you will be using an object oriented
programming model and programming language (or interpreter on the
runtime or macro level), which has certain advantages (everything like
programs, icons, files, windows etc. are objects where all the code
needed to manage the object is included in the objects class, and not
spread across different places in the code), and disadvantages (well,
object oriented code tends to get voluminous and slow, maybe even buggy,
at least that is the common perception).

http://en.wikipedia.org/wiki/Object-oriented_programming

Gnome and KDE both use object oriented models for their desktops, where
KDE also uses an object oriented language, while GNOME works more with
procedural languages (C) and its own object management code.

Btw, for LXDE, I would, independent of that question, opt for using
anything that is stable, small (in the total resources footprint) and
fast, even if it means less features. I like C, even that it means you
have to be extra careful about memory management and pointer
arithmetics.

One of the major features of LXDE for me was always that it needs less
than 5 seconds to start up all necessary components (lxpanel, pcmanfm,
window manager), instead of initializing a lot of services before you
can do actual work on the desktop. I hope that the new versions of
lxpanel and pcmanfm will still be similarly efficient, no matter which
model or toolkit you will use.

Regards
-Klaus




--



University of Informatic Sciences (UCI) http://www.uci.cu
Nova Light Development Team http://www.nova.cu
Alexis López Zubieta azubi...@estudiantes.uci.cu





Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] [Lxde-list] About lxpanel2

2011-12-27 Thread Alexis Lopez Zubieta
I have a question about lxpanel2.
Are you planing to make it using an object oriented approach?

-- 


University of Informatic Sciences (UCI) http://www.uci.cu 
Nova Light Development Team http://www.nova.cu 
Alexis López Zubieta azubi...@estudiantes.uci.cu 




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp