Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105008
| From | Daniel Wilcox <dmw@yubasolutions.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: WP-A: A New URL Shortener |
| Date | 2016-03-15 21:28 -0700 |
| Message-ID | <mailman.195.1458129721.12893.python-list@python.org> (permalink) |
| References | <1537bd9e261.12a0e5b4a204345.4468160629979098801@vmesel.com> |
I dare say I'm with Rick on this point -- keep it up, go learn stuff, put things together and see how they break -- I think it's the best way to get feel for how things fit together and, somewhat inevitably, fall over (when the conditions they were designed in no longer apply). *quick glance at source* The raw SQL scares me a bit, there is a lot of escaping that you could add to protect from sql injections (at least for mysql, sqlite I'm not sure). And since you want to run this on the Internet I highly recommend putting a mariadb/mysql database behind it. Glancing over the Flash documentation they seem to suggest SQLAlchemy which sounds like a reasonable choice for an ORM. An neat idea I've seen before that was neat was a sematic shorten-er where you could specify the shortened URL to make it easy to remember and reference. A lot of security, aka input sanitation, involved but might be fun -- and who knows it could spark a land rush to claim useful short URLs like wp-a.co/flask-tips. :) Speak up if you need any pointers! Daniel On Tue, Mar 15, 2016 at 12:56 PM, Vinicius Mesel <me@vmesel.com> wrote: > Hey guys, > > I'm a 16 year old Python Programmer that wanted to do something different. > But, like we know, ideas are quite difficult to find. > So I decided to develop a URL Shortener to help the Python community out > and share my coding knowledge, and today the project was launched with its > first stable version. > So if you want to see the software working, go check it out at: > http://wp-a.co/ > Or if you want to see the source code to contribute and help the project: > https://github.com/vmesel/WP-A.CO > > > Hugs, > Vinicius Mesel > Brazilian and Portuguese Speaker > http://www.vmesel.com > > > > -- > https://mail.python.org/mailman/listinfo/python-list >
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: WP-A: A New URL Shortener Daniel Wilcox <dmw@yubasolutions.com> - 2016-03-15 21:28 -0700
Re: WP-A: A New URL Shortener Rick Johnson <rantingrickjohnson@gmail.com> - 2016-03-16 11:16 -0700
Re: WP-A: A New URL Shortener Daniel Wilcox <dmw@yubasolutions.com> - 2016-03-17 15:19 -0700
csiph-web