Forum closed. New forum available at http://community.wymeditor.org/

Time to refactor the WYM source?

Discuss features, code, contributions, ideas, suggestions, ...
For bugs, patches and feature requests, please post on the Trac:
http://trac.wymeditor.org/

Time to refactor the WYM source?

Postby mr_lundis on Sun Dec 02, 2007 1:33 pm

Hi everyone!

First of all I'd like to say that you've done a really great job with WYMEditor. But for every new version, I feel stronger and stronger that it's time to refactor the WYM source.

You guys are constantly adding new features, witch is great, but the source is really getting harder and harder to read and understand. So therefore I would suggest that we to the next major release:
    1. Come up with some kind of coding standard so that all code looks the same.
    2. We walk through all the code and restructure it to:
      a) Implement the new coding standard (obviously)
      b) Get rid of all the global vars & functions.
      c) Be able to make use of the already existing functions in jQurey, why reinvent the wheel?
      d) Make the code more maintainable and easy to understand.
    3. Document the code! There is very much undocumented alt. poorly documented code right now.
For those of you who are interested, here are some videos on the subject:They're both from the YUI Theater:
http://developer.yahoo.com/yui/theater/

I'd be happy to hear your thoughts on this, and help out whenever I can during this process!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden

Postby misterm on Sat Dec 15, 2007 10:37 pm

I sort of agree. I think it would be good to have a discussion on what issues matter to developers/users most.

- W3C HTML output (which it does)
- Better GUI control
(an easier way to define your own button layout. A lot of editors lack this)
- Better popup (url/insert image) control
(this would also make for easier customizing)

These are just to name a few and i'm merely going along with the former suggestion. I think it will make WYSIWYM even more attractive for developers. It would certainly cut down time in customization.

edit: came to think of it, it would be great to have some sort of dialogs folder so we can edit the code for say 'insert image' and make it a gallery if we would want to.
Last edited by misterm on Thu Dec 27, 2007 2:07 pm, edited 1 time in total.
misterm
 
Posts: 14
Joined: Thu May 17, 2007 5:17 pm

Postby magico on Fri Dec 21, 2007 3:53 pm

Who are the team elements right now? Who is on charge and what can we do to have a new refactored version?
magico
 
Posts: 2
Joined: Fri Dec 21, 2007 3:38 pm

Postby rostr on Sat Jan 05, 2008 7:25 pm

I haven't seen any updates on the site lately. I was actually getting concerned that wymeditor was no longer being developed.

Can one of the developers give everyone an update of where they are and what the roadmap might be? The official roadmap says 3 months late and records no progress, so i'm not sure we can go by that.

I'm afraid i'm not a javascript guru, so I can't contribute to the coding end, but i've been trying to contribute with bug reports,etc.

Would hate to see wymeditor die off...
rostr
 
Posts: 22
Joined: Sun Jun 17, 2007 8:21 pm

Postby jfh on Tue Jan 15, 2008 8:49 pm

Hi,

Sorry for the late reply, we've been very busy the last couple of months.
I can ensure you the project isn't dead - we (the dev team) needed a break, and we now have some time again to spend on it.

FYI, there will be some major changes in the project itself very soon, so we can spend more time on it - I'll give more explanations on my blog asap.

We'll then be able to refactor the code which - I agree - isn't perfect and lacks some documentation, and next improve the editor features.
Of course, any help is very welcome.

Thanks,
User avatar
jfh
Site Admin
 
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium

Postby tolano on Thu Jan 17, 2008 11:42 am

Isn't wymeditor a jquery plugin? Refactoring with the latest features of jquery would be a good thing, and it shouldn't be very hard.

IMHO,WYMeditor came with one of the greatest ideas of the web revolution known 2.0, but the project has some lacks.

One of the first things that should be included is a good and clean plugin support, and a good image manager. Getting this done with the actual features, could give Wemeditor a wide acceptation in a lot of blogs and CMS systems. This is only my opinion, and I'm only trying to help.
tolano
 
Posts: 2
Joined: Sat Sep 01, 2007 7:20 am

Postby mr_lundis on Sun Jan 20, 2008 7:14 pm

jfh wrote:FYI, there will be some major changes in the project itself very soon, so we can spend more time on it - I'll give more explanations on my blog asap.

I'm looking forward to it!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden

Postby jfh on Tue Feb 12, 2008 10:06 pm

Blog updated :)
User avatar
jfh
Site Admin
 
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium


Return to Developers

Who is online

Users browsing this forum: No registered users and 1 guest