Jan 31, 2009
Jan 30, 2009
Engavillados.com | Diagramas Notificaciones
Las notificaciones juegan un papel muy importante en Engavillados.com, aqui les muestro como trabajan en 2 escenarios:
Modo Notificacion de Evento:
Modo, "charla" con engavillados.com:
Posted by
Igor
at
12:27 AM
0
comments
Links to this post
Labels: engavillados.com
Jan 29, 2009
Engavillados.com | Roadmap
Bueno hace unas semanas Engavillados.com se lanzo el sitio pero como una incógnita, bueno la idea es la siguiente:
El problema:
Los sitios locales de entretenimiento en Nicaragua son muy malos, no tienen ninguna característica social, están básicamente en el pasado, no hay ningún tipo de innovación mas que un contenido algo bueno, y sobre todo están enfocados en sus patrocinadores en lugar que sus usuarios.
Esto en nuestra opinión esta mal, y es lo que intentamos reparar.
La solución:
Go HyperLocal (http://en.wikipedia.org/wiki/Local_news#Hyperlocal)!, llegar a lo ridículamente local, cubrir todo, lo insignificante es importante, dado que es importante para algunas personas.
Se intenta ser el mejor sitio de entretenimiento local para Nicaragua, básicamente, llegar a donde estés, para que puedas saber que hacer, cuando hacerlo, y para que hacerlo.
Ser interactivo!, usar SMS como una forma de comunicación con el website, inspirado en sitios como dodgeball.com para crear una red social fuera de nuestra interfaz web.
Cubrir todo!, noticias, eventos, lugares, ofertas de restaurantes, ofertas de bebidas en bares, fiestas en discos, fiestas caseras, conciertos, eventos culturales, menús de restaurantes, horarios de televisión, películas... etc etc etc... todo esto integrado al sistema de notificaciones que te permitirá estar en el sitio, sin estarlo :).
Ser abiertos!, nosotros adoramos la cultura libre, por lo tanto, el contenido del sitio sera abierto para todo publico, si tienes un evento que quieres promocionar, el sitio es tu servicio, si tienes una radio nueva, el sitio te permite publicar tu programación, tienes una pequeña función de cine en tu barrio? el sitio te permite publicarla también :), y todo esta registrado. Fuiste a un evento y quieres subir fotos del mismo? súbelas a engavillados.com.
Somos sociales!, comentarios en todos lados, RSS en todos lados, tags en las fotos.
Somos acomodados!, no queremos que te registres al sitio, para que? si puedes usar tu cuenta de Facebook o de Gmail, Yahoo, la URL de tu blog personal, actualmente no se necesita crear nuevos sistemas de usuarios, podemos usar los que ya tienes, todo esto de una manera segura.
Bueno, pero esto tomará siglos en desarrollar?
Ehhh... realmente no, siempre y cuando tengas las mejores tecnologías a la mano, y sabes que? la mayoría son gratuitas!
Entonces, para cuando el site?
Mañana!, :), naa, este es el "Roadmap":
Beta Publico: Marzo 2009 - Sitio totalmente funcional, la idea es tener todas las características del sitio completo, pero pueden haber errores.
Version 1.0: Abril 2009 - Sitio probado en el beta
Version 2.0: Junio 2009 - Sitio completo pero con las mejoras sugeridas por los usuarios
UPDATE!: Beta ahora es Marzo :)
Posted by
Igor
at
11:43 PM
0
comments
Links to this post
Labels: engavillados.com
Engavillados.com | Diagrama del Login
Este es el modelo que usaremos en engavillados.com para registrar y autenticar a nuestros usuarios:
Posted by
Igor
at
11:38 PM
0
comments
Links to this post
Labels: engavillados.com, login
RE: Infrastructure for Modern Web Sites
My response to: http://randomfoo.net/2009/01/28/infrastructure-for-modern-web-sites
"Framework Design Guidelines" (http://blogs.msdn.com/brada/archive/category/26...) states: "Simple things should be easy, complex things should be possible" (the book uses "scenarios"), these, IMHO are complex things, they are possible some easy some not, but they can be done.
In the end how many websites need all these ponies? 1, 2? maybe in your website you'll need 3 of all the ponies, I rather make the all the simple scenarios easier than adding more complex stuff to the framework.
Posted by
Igor
at
10:25 AM
0
comments
Links to this post
Labels: django, framework design, web development
Writing Template Tags in Django
Template tags are very useful, if you like your Django template language to use your customized syntax.
To write a template tag you need to do a couple things:
Make a Python package named "templatetags" inside your app:
| |~events/
| | |~templatetags/
| | | |-__init__.py
| | | `-events.py
| | |-__init__.py
| | |-admin.py
| | |-manager.py
| | |-middleware.py
| | |-models.py
| | `-views.py
In your template you need to load your custom template tags too:
{% load events %}
And that's it, your events.py file is loaded into your template, but, you need to write some templatetags.
First, think about your template tag, what is it going to be? a filter? or a block alike? (anymore types?), I'll choose the "block alike" since its harder to implement :).
We are going to be able to do:
{% get_event_metadata event.pk as metadatas %}
That will create a "context" "variable" from a pk... here are my models:
I avoided posting the whole source code, since its not relevant.
Now, lets create our template tags, in our events/templatetags/events.py file:
One thing to notice is that when you call the template tag from the template all the events.py gets is a string, and the only way to get the value from that "string" (or variable in this case, is to get it from the context, using template.Variable and the context var, or context.get("varname").attr.
Posted by
Igor
at
3:35 AM
2
comments
Links to this post
Labels: django, python, template tags
Jan 27, 2009
VIM and Django
Today, I'll share some files with you, my precious VIM config files and extra plugins, and some tips on how to use them.
My .vimrc, you need to put this one on $HOME/.vimrc (you can actually use another location for it, but that's the default):
This is my script to launch GVIM on a Django environment, so it will create a tags file and load the settings.py file too (also set the GVIM window geometry ;)):
I put it into $HOME/bin/djp so to run it I just call:
$ djp .
Unpack my .vim directory to your $HOME to get a lot of plugins, like the NERDtree, NERDcomments, SnippetsEMU, some syntax files and colors, yes lots of colors :):
http://files.getdropbox.com/u/421955/vimconfigs.tar.gz
I'll try to update this vimconfigs.zip file on my Dropbox account regularly.
Some tips in my configs:
- Press F3 for opening and closing NERDtree
- Press F4 for opening the scope editor (probably that's the name of that thing)
- CTRL + N cool autocompletions
- UPDATED: CTRL + X then O to open OmniCompletion :)
Posted by
Igor
at
11:49 PM
0
comments
Links to this post
Jan 21, 2009
Engavillados.com
Posted by
Igor
at
12:07 AM
0
comments
Links to this post
Labels: cool, engavillados.com, entretenimiento, website
Jan 20, 2009
El Mejor Programador de Nicaragua
Posted by
Igor
at
5:18 PM
4
comments
Links to this post
Labels: fun, google, me the best
Jan 13, 2009
RT: NO identi.ca
Using identi.ca is like going to party the same day as your friends do but in another place (alone).
I started today tweeting that (also posted here):) remarkable!
In other words, you use what your friends use, it is not the other way around, you can't convince 100+ people to use something you want to, that's just IMO silly.
Posted by
Igor
at
8:40 PM
5
comments
Links to this post
Jan 6, 2009
F-Spot Beat iPhoto to the Punch
Posted by
Igor
at
11:47 PM
0
comments
Links to this post
Jan 5, 2009
2009 Resolutions
Tomorrow is the first official 2009 day for me, since I'm going to start going to work that day :P, so its better start with this MEME: 09 resolutions:
- Read all my unfinished books
- Code my unfinished Web (Django) projects
- Work on my git-sharp framework
- Learn Unit Testing
- Write a little compiler
- Go to college
- Get a girl
- Start coming on time to work
- Read more non-tech books
- Get a secondary income
- Fix my car's little damages
- Be a committer on a Open Source project or get a external committer in git-sharp (when its done)
- Code more than I code right now (+100 LOC a weekday, +150 LOC a weekend)
- Learn a Database C API
- Learn how to use CouchDB and write an app with it
- Learn the Android API and write an app for it
- Write in my blog at least 2 times a week
Posted by
Igor
at
1:08 AM
0
comments
Links to this post
Labels: 2009, planeta, resolutions
I'm a soo fanboi
Posted by
Igor
at
12:20 AM
1 comments
Links to this post
disclaimer

Licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.




