GUI builder for django

2,811 views
Skip to first unread message

John Finlay

unread,
Apr 21, 2010, 5:28:05 PM4/21/10
to django...@googlegroups.com
I'm just getting started with django coming from a background of
developing desktop apps on *nix. Is there something equivalent to a GUI
builder for django?

Alternatively, is there a good WYSIWYG html editor that produces
editable html so I could quickly create a template and then retrofit it
with django template tags?

Thanks

John

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

andres osinski

unread,
Apr 21, 2010, 6:10:58 PM4/21/10
to django...@googlegroups.com
No, and it's not a good idea to do WYSIWYG development for HTML. HTML is not a format that produces static content; it varies depending on screen fonts, browser, and platform, and getting that right means sticking to relative layout, making content flow, and taking care of quirks. WYSIWYG editors don't do any of that. and the quality of their output is dubious at best.
Taking the time to produce sane HTML and CSS is a must for web development, but it's not that difficult a task and the knowledge to do it can be learned in a few days.

Thanks

John Finlay

unread,
Apr 21, 2010, 6:52:20 PM4/21/10
to django...@googlegroups.com
Does everyone code the html and css by hand for their templates? That seems very time consuming and tedious.

Desktop apps have the same issues with variations of languages, fonts, etc. and resizing and the layout containers and other widgets provide for dynamic changes. GUI builders make it easy to create the views from the basic widgets without having to program a lot of low level code. Are you saying there isn't an equivalent type of development tool in the web design space?

Thanks

John


On 04/21/2010 03:10 PM, andres osinski wrote:
No, and it's not a good idea to do WYSIWYG development for HTML. HTML is not a format that produces static content; it varies depending on screen fonts, browser, and platform, and getting that right means sticking to relative layout, making content flow, and taking care of quirks. WYSIWYG editors don't do any of that. and the quality of their output is dubious at best.
Taking the time to produce sane HTML and CSS is a must for web development, but it's not that difficult a task and the knowledge to do it can be learned in a few days.

Thanks

On Wed, Apr 21, 2010 at 6:28 PM, John Finlay <fin...@moeraki.com> wrote:
I'm just getting started with django coming from a background of developing desktop apps on *nix. Is there something equivalent to a GUI builder for django?

Alternatively, is there a good WYSIWYG html editor that produces editable html so I could quickly create a template and then retrofit it with django template tags?

Thanks

John

Javier Guerra Giraldez

unread,
Apr 21, 2010, 6:56:11 PM4/21/10
to django...@googlegroups.com
On Wed, Apr 21, 2010 at 5:52 PM, John Finlay <fin...@moeraki.com> wrote:
> Does everyone code the html and css by hand for their templates? That seems
> very time consuming and tedious.

every developer i know does.

> Desktop apps have the same issues with variations of languages, fonts, etc.
> and resizing and the layout containers and other widgets provide for dynamic
> changes. GUI builders make it easy to create the views from the basic
> widgets without having to program a lot of low level code. Are you saying
> there isn't an equivalent type of development tool in the web design space?

as a matter of fact, i use Qt Designer only to mockup and check the
general disposition. for the real app i code C++ by hand.

--
Javier

Mike Dewhirst

unread,
Apr 21, 2010, 7:37:31 PM4/21/10
to django...@googlegroups.com
On 22/04/2010 8:10am, andres osinski wrote:
> No, and it's not a good idea to do WYSIWYG development for HTML. HTML is
> not a format that produces static content; it varies depending on screen
> fonts, browser, and platform, and getting that right means sticking to
> relative layout, making content flow, and taking care of quirks. WYSIWYG
> editors don't do any of that. and the quality of their output is dubious
> at best.
> Taking the time to produce sane HTML and CSS is a must for web
> development, but it's not that difficult a task and the knowledge to do
> it can be learned in a few days.

I agree. I have used WYSIWYG editors for static pages in the past and I
guess I would again under appropriate circumstances. I still have
Dreamweaver.

For Django however, the only way forward is to use css to lay out your
pages and logic to populate them. The quantity of actual html code ought
to be deliberately reduced to the absolute minimum for reasons of
maintainability and re-use.

Here are a couple of links which might help ...

http://jeffcroft.com/blog/2006/feb/25/django-templates-the-power-of-inheritance/

http://www.djangobook.com/en/2.0/chapter04/

It is easy to understand. A little effort now will save you vast effort
later. It isn't too steep to get up there.

Good luck.

>
> Thanks
>
> On Wed, Apr 21, 2010 at 6:28 PM, John Finlay <fin...@moeraki.com
> <mailto:fin...@moeraki.com>> wrote:
>
> I'm just getting started with django coming from a background of
> developing desktop apps on *nix. Is there something equivalent to a
> GUI builder for django?
>
> Alternatively, is there a good WYSIWYG html editor that produces
> editable html so I could quickly create a template and then retrofit
> it with django template tags?
>
> Thanks
>
> John
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com
> <mailto:django-users%2Bunsu...@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages