Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a pretty Python web solution?

I'm looking for a Python web framework that is easy to use and allows me to generate some nice looking user interfaces on the fly. I have not much experience with web development and don't want to spent much time to learn internals.

So far I use cherrypy and mako templating to serve the app. My problem is, it just looks awful. I'd like to have some nice (maybe AJAX?) features available to make the app a little bit more fancy.

My app is a simple search site without any database connection. So I have a main page where the user enters the search string and a result page. In the end it should look like the Goole search, with some hover effects for the results, nice keyboard controls, maybe even something similar like the page preview from Google.

So to achieve this, should I use a different framework or do I need to write the CSS and JavaScript by hand? What options do I have?

like image 498
Martin Schulze Avatar asked Dec 01 '25 08:12

Martin Schulze


2 Answers

Your user interface has nothing to do with the web framework you choose to use.

That said, you might find Bootstrap useful:

Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.

You might also find this article useful: http://web.archive.org/web/20120418061148/http://jamie-davidson.com/2012/01/resources-to-hack-design/ (original article at: http://jamie-davidson.com/2012/01/resources-to-hack-design/ is no longer available)

like image 70
Acorn Avatar answered Dec 03 '25 23:12

Acorn


"easy to use"

Django

"generate some nice looking user interfaces on the fly"

Django!

"don't want to spent much time"

Django!!


For javascript, I strongly suggest jQuery and for some CSS: Grid 960.

like image 22
juliomalegria Avatar answered Dec 04 '25 00:12

juliomalegria



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!