[web2py] Web2py and Graph Databases

2015-11-13 Thread Samuel Sowah
Hello all, I'm trying to build an app and the most suitable type of database to work with for what I want to build would be a graph database. I've done some reading around it and ones like neo4j, orientdb, titan, sparksee, seem to be quite popular in the python communities seeing as they have

[web2py] Re: Web2py and Graph Databases

2015-11-13 Thread Samuel Sowah
Anthony > > On Friday, November 13, 2015 at 5:01:55 AM UTC-5, Samuel Sowah wrote: >> >> Hello all, >> >> I'm trying to build an app and the most suitable type of database to work >> with for what I want to build would be a graph database. I've done some >>

[web2py] How to do an ajax crud-form submission without using LOAD()

2015-08-02 Thread Samuel Sowah
First of all I want to know if this is possible because currently all my crud forms are submitted via ajax, using the LOAD component, but I am wondering if it's possible to submit crud forms via ajax without requiring LOAD? If so, how? and if not, what other ways does web2py implement ajax

[web2py] Microservices

2015-07-28 Thread Samuel Sowah
I don't fully understand microservices, but it seems to be something that's becoming quite the topic of discussion. Is this being implemented in web2py? Can someone enlighten me how web2py and microservices intersect (if they intersect at all)? Can I write services in web2py, abc, and xyz

Re: [web2py] Microservices

2015-07-28 Thread Samuel Sowah
of microservices since the idea is to have multiple services in different servers/containers? On Tuesday, July 28, 2015 at 1:47:05 PM UTC, Richard wrote: You can make web services with web2py easily... Richard On Tue, Jul 28, 2015 at 5:33 AM, Samuel Sowah sam...@official-notebook.com javascript: wrote

[web2py] Note taking app

2015-07-27 Thread Samuel Sowah
Hello all, I know this is not a group to advertise anything but I could really use some feedback. I released a note taking application a while ago that I built with web2py and I'd love some feedback from the community and any general comments/questions/advice/etc. I don't have an official

[web2py] Opensource web2py forum/mailing list/community go-to help center thingy?

2015-07-27 Thread Samuel Sowah
I want to build an opensource app with web2py to serve the purpose of help and social engagement for the web2py community. I only wonder if there's already such a thing besides this google group (which is most certainly not built on web2py), if so I'd like to take a look and if not, I'd like to

[web2py] Re: expand_one not working anymore?

2015-07-16 Thread Samuel Sowah
https://www.youtube.com/watch?v=Itlc9NUOx_Y On Thursday, July 16, 2015 at 7:41:00 AM UTC, Massimo Di Pierro wrote: Perhaps they no longer support oembed? Can you provide an example of a URL? On Wednesday, 15 July 2015 23:35:45 UTC-5, Samuel Sowah wrote: currently, when I use autolinks

[web2py] Re: expand_one not working anymore?

2015-07-16 Thread Samuel Sowah
a bit lost. On Thursday, July 16, 2015 at 11:50:19 AM UTC, Massimo Di Pierro wrote: Are you sure your code has not changed? We have not changed the logic there in a year or more. On Thursday, 16 July 2015 04:44:34 UTC-5, Samuel Sowah wrote: https://www.youtube.com/watch?v=Itlc9NUOx_Y http

[web2py] Re: expand_one not working anymore?

2015-07-16 Thread Samuel Sowah
, 2015 at 12:04:58 PM UTC, Samuel Sowah wrote: home.html {{from gluon.contrib.autolinks import expand_one}} {{def find_url(text):}} {{s = text.find(http)}} {{e = text.find( , s)}} {{if s is not -1:}} {{if e!=-1:}} {{url = text[s:e+1]}} {{else

[web2py] expand_one not working anymore?

2015-07-15 Thread Samuel Sowah
currently, when I use autolinks' expand_one, I don't get youtube videos rendering anymore, or anything for that matter, not even files. it just turns the urls into anchor links. something I'm missing? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Web2py is Badly designed framework and Does not scale

2015-07-15 Thread Samuel Sowah
On Wednesday, July 15, 2015 at 5:54:13 PM UTC, Ramos wrote: Look in the right side under activity . You will see Bruno saying it... That's an upvote, doesn't say he's not the source... Am i wrong too ? 2015-07-15 18:30 GMT+01:00 Anthony abas...@gmail.com javascript:: I don't see

[web2py] web2py.js websocket bug?

2015-07-15 Thread Samuel Sowah
I believe this is a bug. Please confirm what I'm thinking or correct me if I'm wrong. The web2py_websocket function in web2py.js takes 4 parameters (2 optional, onopen and onclose) web2py_websocket: function (url, onmessage, onopen, onclose) { if(WebSocket in window) { var ws = new

[web2py] Re: web2py.js websocket bug?

2015-07-15 Thread Samuel Sowah
On Wednesday, July 15, 2015 at 11:46:38 PM UTC, Massimo Di Pierro wrote: you may be right. Will check asap. Please open a ticket. I've never opened a ticket, where and how do I do that? On Wednesday, 15 July 2015 18:17:00 UTC-5, Samuel Sowah wrote: I believe this is a bug. Please

[web2py] Re: web2py.js websocket bug?

2015-07-15 Thread Samuel Sowah
at 11:51:37 PM UTC, Samuel Sowah wrote: On Wednesday, July 15, 2015 at 11:46:38 PM UTC, Massimo Di Pierro wrote: you may be right. Will check asap. Please open a ticket. I've never opened a ticket, where and how do I do that? On Wednesday, 15 July 2015 18:17:00 UTC-5, Samuel Sowah wrote

[web2py] Re: websocket_messaging.py -t question

2015-07-15 Thread Samuel Sowah
, I'm only asking. But some further explanation will also do until I can understand. Thanks. On Tuesday, 14 July 2015 20:54:32 UTC-5, Samuel Sowah wrote: Can someone please explain how to use websocket_messaging.py properly with tokens? -- Resources: - http://web2py.com - http

[web2py] Re: How do I tell how many users are connected to a page (websockets)?

2015-07-14 Thread Samuel Sowah
I was just about saying that I was taking a hack at websocket_messaging.py before even trying to go through Richard's code only to realize Stifan just mentioned that. Anyway, what happens now is, when I start the websocket_messaging.py with python web2py/gluon/contrib/websocket_messaging.py -k

[web2py] Re: One to many represent as_json

2015-07-14 Thread Samuel Sowah
you can do db(db.vendors.id==products.first().product_owner).select().first().name to get the name. The actual value stored in the db is the id. format helps with select drop-downs and viewing db records in the appadmin. As far as I know, that's how it works but I'd be happy to learn if there

[web2py] websocket_messaging.py -t question

2015-07-14 Thread Samuel Sowah
Can someone please explain how to use websocket_messaging.py properly with tokens? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this

[web2py] How do I tell how many users are connected to a page (websockets)?

2015-07-10 Thread Samuel Sowah
I checked out the web2py.js file and it looks like what i'm looking for is right in there but i really do not know how to implement this. I realized I can take advantage of the web2py_websocket function's onopen argument and write a function to tell that that user is online, and when the

[web2py] Re: How do I tell how many users are connected to a page (websockets)?

2015-07-10 Thread Samuel Sowah
I need help please... anyone? This thread keeps going down the list and I'm afraid it might get missing and go unanswered :/ On Friday, July 10, 2015 at 12:20:39 PM UTC, Samuel Sowah wrote: I checked out the web2py.js file and it looks like what i'm looking for is right in there but i

[web2py] Re: How do I tell how many users are connected to a page (websockets)?

2015-07-10 Thread Samuel Sowah
online. On Friday, July 10, 2015 at 1:32:06 PM UTC-5, Samuel Sowah wrote: I need help please... anyone? This thread keeps going down the list and I'm afraid it might get missing and go unanswered :/ On Friday, July 10, 2015 at 12:20:39 PM UTC, Samuel Sowah wrote: I checked out

[web2py] Flask Question

2015-06-03 Thread Samuel Sowah
I know this isn't the flask community but it's got some relationship with web2py so I thought I might as well ask it here. In web2py, I get the usage of the braces in a view for writing python code, that explanation is plain, simple, straightforward. I can't seem to find a straight forward

Re: [web2py] Re: My son made a new web2py logo

2015-06-03 Thread Samuel Sowah
I didn't think this was a discussion about the name of the framework but since it's already started, here's my 2 cents. I LOVE the name web2py. I don't know how it's properly pronounced, by I call it 'web to py' with the idea that it's the web towards python, or basically the internet towards

Re: [web2py] Keeping track of connected users (websocket_messaging.py)

2015-05-12 Thread Samuel Sowah
the person who develop that is gone, I can't help more than sharing with you her works... Richard On Wed, May 6, 2015 at 6:58 AM, Samuel Sowah saso...@gmail.com javascript: wrote: Hello, Please if I'd like to keep track of users who are connected to a particular group, for example

[web2py] Keeping track of connected users (websocket_messaging.py)

2015-05-06 Thread Samuel Sowah
Hello, Please if I'd like to keep track of users who are connected to a particular group, for example script $(document).ready(function(){ var data;

Re: [web2py] websocket_messaging.py not working online

2015-04-20 Thread Samuel Sowah
I think I'm still a bit lost On Monday, April 20, 2015 at 4:02:21 PM UTC+1, Samuel Sowah wrote: So... I just read something on stackoverflow about that and I think I had that idea, just didn't know it was a thing. i'm executing the websocket_messaging.py line from the same server though

Re: [web2py] websocket_messaging.py not working online

2015-04-20 Thread Samuel Sowah
I'm not aware. What exactly do you mean by that please? On Monday, April 20, 2015 at 3:53:24 PM UTC+1, Niphlod wrote: are you aware that websockets have the same limitation as ajax requests (same domain) ? On Monday, April 20, 2015 at 4:39:08 PM UTC+2, Samuel Sowah wrote: telnet http

Re: [web2py] websocket_messaging.py not working online

2015-04-20 Thread Samuel Sowah
UTC+1, Ramos wrote: try to telnet to that url : and see if your get a black screen 2015-04-20 15:15 GMT+01:00 Samuel Sowah sam...@official-notebook.com javascript:: Hello, I need help getting websocket_messaging.py to work. when I use it locally (127.0.0.1) python

Re: [web2py] websocket_messaging.py not working online

2015-04-20 Thread Samuel Sowah
, April 20, 2015 at 3:58:46 PM UTC+1, Samuel Sowah wrote: I'm not aware. What exactly do you mean by that please? On Monday, April 20, 2015 at 3:53:24 PM UTC+1, Niphlod wrote: are you aware that websockets have the same limitation as ajax requests (same domain) ? On Monday, April 20, 2015

Re: [web2py] websocket_messaging.py not working online

2015-04-20 Thread Samuel Sowah
Okay, will do Ramos. Thanks On Monday, April 20, 2015 at 4:05:32 PM UTC+1, Ramos wrote: Maybe your online server platform is blocking websockets. check it with your provider. 2015-04-20 16:02 GMT+01:00 Samuel Sowah sam...@official-notebook.com javascript:: So... I just read something

[web2py] websocket_messaging.py not working online

2015-04-20 Thread Samuel Sowah
Hello, I need help getting websocket_messaging.py to work. when I use it locally (127.0.0.1) python websocket_messaging.py -k mykey -p --- script $(document).ready(function(){ var data;

Re: [web2py] websocket_messaging.py not working online

2015-04-20 Thread Samuel Sowah
, 2015 at 4:06:21 PM UTC+1, Samuel Sowah wrote: Okay, will do Ramos. Thanks On Monday, April 20, 2015 at 4:05:32 PM UTC+1, Ramos wrote: Maybe your online server platform is blocking websockets. check it with your provider. 2015-04-20 16:02 GMT+01:00 Samuel Sowah sam...@official

[web2py] Password Encryption (API)

2014-12-16 Thread Samuel Sowah
Hello, I'm trying to build an api for a web2py application and I'm stuck with authentication. Not that I haven't done it, but I don't know how to go about it. Consider login for instance, if I want to return a status true indicating a successful login attempt, eg. #api controller

[web2py] how to resize expand_one content

2014-03-06 Thread Samuel Sowah
How do i resize (width, length) of the embedded content from youtube or vimeo links or a file that opens in the google doc viewer? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] how to resize an expand_one rendered content

2014-03-06 Thread Samuel Sowah
How can I resize the youtube or vimeo embed or google doc viewer whenever i call expand_one() on a url? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) ---

[web2py] Re: expand_one not working

2014-02-19 Thread Samuel Sowah
This is my other account. I found the problem, the url structure was bad cos i checked with the google docs viewer syntax and it needed the url to be url encoded, http://blablabla, but the url that gets submitted when i do URL('download', args=update.file) is sent in the form