Is this possible in rev?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Is this possible in rev?
Hey there,
I've to build an online-shop-system as a RIA. So first I wanted to build it in Flex, but maybe rev is the better way!?
This is what the system have to do:
- works in a browser
- different ways of walk through - for buying people with AND without a log in (special customers got % - so they need a login)
- normal productlist with pictures (data should come from a database, maybe an employer could add new stuff to the database with a second separated App)
- after the customer select a product the App has to read an entry in the DB to check, if this product is customizable - if yes a product-create should appear where the customer can set some text into a box (the App decides the box-width/high from the database). After the customer is ready, the App have to build an PDF with this text (and the same positions as the customer set it before in the 'creator') and send this PDF as an email-attachment after sale-checkout to the company.
I think this shouldn't be a problem in rev, or?
Here a few more questions:
- does the website-visitor needs a plugin or can I setup a runtimeenigine on the server, so no visitor needs a plugin?
- if the plugin is needed, does the browser tells you, you need to install it, if you don't have it already installed?
- can rev shows the user all fonts are installed on his own-computer like Flex can do? (for font-selection, to write text)?
Thank you!
- bb
I've to build an online-shop-system as a RIA. So first I wanted to build it in Flex, but maybe rev is the better way!?
This is what the system have to do:
- works in a browser
- different ways of walk through - for buying people with AND without a log in (special customers got % - so they need a login)
- normal productlist with pictures (data should come from a database, maybe an employer could add new stuff to the database with a second separated App)
- after the customer select a product the App has to read an entry in the DB to check, if this product is customizable - if yes a product-create should appear where the customer can set some text into a box (the App decides the box-width/high from the database). After the customer is ready, the App have to build an PDF with this text (and the same positions as the customer set it before in the 'creator') and send this PDF as an email-attachment after sale-checkout to the company.
I think this shouldn't be a problem in rev, or?
Here a few more questions:
- does the website-visitor needs a plugin or can I setup a runtimeenigine on the server, so no visitor needs a plugin?
- if the plugin is needed, does the browser tells you, you need to install it, if you don't have it already installed?
- can rev shows the user all fonts are installed on his own-computer like Flex can do? (for font-selection, to write text)?
Thank you!
- bb
Re: Is this possible in rev?
Hello BB,
Yes, RunRev needs a plug-in to work in the browser. Unfortunately, the plug-in should not be used for a commercial project like this, which should work securely, reliably and instantly on any computer. I would not make this in RunRev. I'd use something that runs natively in the browser, without RunRev or Flash.
If it were not necessary to run the web shop in a browser, then you could have chosen to create the web shop with RunRev as an independent standalone application.
The RunRev browser plug-in is nice for experiments, for running software created with RevMedia on school networks where the plug-in is pre-installed, for games and probably for a few other applications, but the browser plug-in is currently unsuitable for critical business applications such as a web shop.
Best regards,
Mark
Yes, RunRev needs a plug-in to work in the browser. Unfortunately, the plug-in should not be used for a commercial project like this, which should work securely, reliably and instantly on any computer. I would not make this in RunRev. I'd use something that runs natively in the browser, without RunRev or Flash.
If it were not necessary to run the web shop in a browser, then you could have chosen to create the web shop with RunRev as an independent standalone application.
The RunRev browser plug-in is nice for experiments, for running software created with RevMedia on school networks where the plug-in is pre-installed, for games and probably for a few other applications, but the browser plug-in is currently unsuitable for critical business applications such as a web shop.
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Is this possible in rev?
I think the best solution would be to use OnRev.
http://on-rev.com/
As Mark said, the plug-in is not really designed for visitors coming "on the fly" on a webshop.
http://on-rev.com/
As Mark said, the plug-in is not really designed for visitors coming "on the fly" on a webshop.
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Is this possible in rev?
Shopping carts are a lot of work. If it's going to run in a browser, why not just use one of the many freely available solutions like ZenCart?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Is this possible in rev?
What is the difference to the planed way (buy rev and use our own OSX Servers)?bangkok wrote:I think the best solution would be to use OnRev.
http://on-rev.com/
As Mark said, the plug-in is not really designed for visitors coming "on the fly" on a webshop.
Re: Is this possible in rev?
It is very simple..FourthWorld wrote:Shopping carts are a lot of work. If it's going to run in a browser, why not just use one of the many freely available solutions like ZenCart?
because we need this special feature integrated in the shopsystem:
- after the customer select a product the App has to read an entry in the DB to check, if this product is customizable - if yes a product-create should appear where the customer can set some text into a box (the App decides the box-width/high from the database). After the customer is ready, the App have to build an PDF with this text (and the same positions as the customer set it before in the 'creator') and send this PDF as an email-attachment after sale-checkout to the company.
Re: Is this possible in rev?
Hi BB,
You can't create a PDF with a revlet (yet). Also, are you sure you want to request installation of a plugin for a shopping cart that might require a credit card?
If there is no shopping cart available that can do what you need, then make your own. I think it can be done with html/javascript/php.
Best,
Mark
You can't create a PDF with a revlet (yet). Also, are you sure you want to request installation of a plugin for a shopping cart that might require a credit card?
If there is no shopping cart available that can do what you need, then make your own. I think it can be done with html/javascript/php.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Is this possible in rev?
ZenCart and some of the others have an extensible architecture that supports third-party plugins. I would imagine it would save significant time to use ZenCart for most of the cart, and just write a plugin to trigger a CGI to handle this specific task you need.BillyBlue wrote:It is very simple..FourthWorld wrote:Shopping carts are a lot of work. If it's going to run in a browser, why not just use one of the many freely available solutions like ZenCart?
because we need this special feature integrated in the shopsystem:
- after the customer select a product the App has to read an entry in the DB to check, if this product is customizable - if yes a product-create should appear where the customer can set some text into a box (the App decides the box-width/high from the database). After the customer is ready, the App have to build an PDF with this text (and the same positions as the customer set it before in the 'creator') and send this PDF as an email-attachment after sale-checkout to the company.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Is this possible in rev?
Hm.. and are there any tutorials or examples about this? In which language I've to write the plug-in?
Are there differences between ZenCart and Magento?
Are there differences between ZenCart and Magento?
Re: Is this possible in rev?
I see many differences :BillyBlue wrote: What is the difference to the planed way (buy rev and use our own OSX Servers)?
-you want to host yourself, on your own OSX servers, a webshop application ? Why not after all, but it would be much more convenient to use a hosting company (cost, bandwith, reliability, maintenance etc.)
-OnRev is one package : a "server" version of RunRev, mixed with a web server (Apache) and a hosting offer. Its allow you to create easily HTML pages, mixed with scripts in RunRev language. It's like the best of both world.
You can do it the "hard way" (look at "cgi" articles here on this forum, a solution where people use RunRev runtime as an engine to create cgi, linked to an apache webserver), but for a whole website, it's too complicated.
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Is this possible in rev?
I'm not a ZenCart expert, but their site has all the info you'd need: http://www.zen-cart.com/BillyBlue wrote:Hm.. and are there any tutorials or examples about this? In which language I've to write the plug-in?
Are there differences between ZenCart and Magento?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Is this possible in rev?
Yes, it would be possible, but I concur with the other replies to your question. And honestly, this kind of web application is easy to create in a server side language, such as php/mysql/apache (which is kinda the standard these days). There are even free open source solutions: http://php.opensourcecms.com - Or go with onrev, if you prefer to use revtalk. Hosting your own server will cause you a lot of headaches and much more money.