Bossnews question

27 views
Skip to first unread message

Roelof Wobben

unread,
Feb 9, 2015, 4:01:57 PM2/9/15
to chica...@googlegroups.com
Hello,

im reading the ChicagoBoss , Rough introduction pdf where is a mention about Bossnews where you can make soft real updates in page.

Can I also use that idea to a shopping cart which must be updated as soon as a user presses the buy me button.

Roelof

Dmitry Polyanovsky

unread,
Feb 10, 2015, 12:41:29 AM2/10/15
to chica...@googlegroups.com
Hello,

boss_news watching your database for changes and make actions based on those changes. So, to activate boss_news, you need to change something in your database. Also, there is two important notes: there is should be a model for type of record you want to change and it should be done thru CB, otherwise boss_news can't see that.

--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/037b2ea8-e667-4b82-9cbd-a01728b357f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Roelof Wobben

unread,
Feb 10, 2015, 1:40:50 AM2/10/15
to chica...@googlegroups.com
Then boss_news cannot do the job.

Like I said the trigger is pressing a button and not a database change.
The database change will be after the shopping cart is changed.

Roelof


Op dinsdag 10 februari 2015 06:41:29 UTC+1 schreef Dmitry Polyanovsky:

Dmitry Polyanovsky

unread,
Feb 10, 2015, 1:51:05 AM2/10/15
to chica...@googlegroups.com
CB is server-side framework, buttons are part of UI, so there is no matter if you use boss_news or not, some http request should be done to call some action on server side

Bryce Verdier

unread,
Feb 10, 2015, 1:53:09 AM2/10/15
to chica...@googlegroups.com

I could be wrong with this, but bossmq sound like a note natural solution for what you're trying to achieve:
Http://chicagoboss.org/doc/api-mq.html

Warm regards,
Bryce

Tim McNamara

unread,
Feb 10, 2015, 2:45:24 PM2/10/15
to chica...@googlegroups.com
Sounds like a great application of the feature. There may still be some latency involved, due to the nature of communicating back and forth to the server. 

Tim McNamara
@timClicks

Reply all
Reply to author
Forward
0 new messages