r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Web] Everything web development related

Pekr
15-Jan-2009
[1578x3]
I work with driving comments sections, which tell what kind of handler 
should parse/maintain sections, but without being destructive to 
existing design.
It is not about me not thinking about those issues, it is about finding 
"the ideal one". So far I like Gabriele's Temple for e.g.
.... but - I do rather primitive things. So maybe later with more 
advanced stuff, I might finally "get it"
Kaj
15-Jan-2009
[1581]
QM´s Controllers read and write data from Models and plug it into 
View templates, so there you have it
Robert
15-Jan-2009
[1582]
Best MVC example: OSX. The thing is not the separation all speak 
about (Model = Date, View = GUI, Control = App logic) but how to 
get it to work together. And this is (normally) done by passing messages 
between these three.


Like you click a button and a "loadrecord" message is sent to the 
Data part. IIRC the nice thing is, that more than one "function, 
object, ..." can react on such a message.
amacleod
15-Jan-2009
[1583]
I would like to see more examples of how this works. I kind of get 
why its nice to seperate tasks on a large scale site but is there 
still an advantage for a small self built/maintained site.
Chris
15-Jan-2009
[1584x5]
You can with QM, should you wish, only use the Controller.  My (evolving) 
advice would be to learn QM by only using the Controller.
I usually test new features starting there.  That's where the flow 
is and you can do everything within the Controller context.
Even if you chuck the View and Model parts, my Controller whips plain 
CGI : )
am: I'd encourage exploration of QM's source.  Most of the code covers 
mezzanines that address typical WebApp problems.  The philosophy 
is to 'Think REBOL'.
I've gone to lengths to make the source as transparent as possible 
(even if my commenting sucks).
eFishAnt
16-Jan-2009
[1589]
Chris, you could set your color settings to white on white...
Chris
16-Jan-2009
[1590]
{color: lemon-juice;}
eFishAnt
18-Jan-2009
[1591x2]
Perhaps that is a secret code.  what's the tuple for lemon-juice? 
RGBA = 255.255.00 ?
...meant RGBA = 255.255.0.0
PeterWood
18-Jan-2009
[1593x2]
Alan


From your posting on the Rebol-France BB, it looks as though the 
formattng of your AddHandler declarations in your httpd.conf file 
are not correct.

I use these:

AddHandler cgi-script .cgi
AddHandler cgi-script .r

#Following entry added to enable Magic!
AddHandler magic .rhtml
Action magic /magic/cgi-bin/magic.cgi
The Script Alias I use for Magic! is

 ScriptAlias /magic/cgi-bin/ "/Users/peter/Sites/magic/cgi-bin/"
amacleod
19-Jan-2009
[1595]
Thanks Peter, I'll give those suggestions a try..
Pekr
20-Jan-2009
[1596x2]
Dunno if this group is appropriate, but we don't have marketing related 
one. Does anyone use some advanced web access analytics to improve 
SEO?
We have basic Google tools, but we were suggested ClickTracks (now 
LyrisHQ). Other product might be NetMonitor ... any experience here?
Robert
25-Jan-2009
[1598x2]
I now use Piwik. Free and Ok.
Has anyone written a web-shopping cart system using Rebol? So a simple 
CGI api to add/remove stuff to a shopping cart? Felxible enough so 
that it can be integrated with existing web-pages and shopping cart 
content can be forward to different check-out system?
[unknown: 5]
25-Jan-2009
[1600x3]
Robert I don't know of any and ask this same question long ago which 
is why I came up with the idea of Rcommerce which would be a REBOL 
based solution similiar to oscommerce.  Many here were vocal about 
it not being something that anyone would trust so I let it the idea 
die.
I do have experience using oscommerce and it worked very well but 
again not a REBOL solution but is at least an open source solution.
Robert, if you just going to forward your items to another check-out-system 
then I thing that is something rather simply to implement via REBOL 
and CGI.  It is when you want to use REBOL to handle the check-out 
system also with the interface to the payment gateway system is where 
I think many people had reservations about using a REBOL solution.
Robert
25-Jan-2009
[1603]
Yes, I know oscommerce (or xtcommerce which is IIRC a fork). I use 
Rapidweaver for Web-Pages so I would like to integrate all this.


The problem I have is, that all these shop system push you to use 
their layout engine etc. There is none I know, that just does the 
non-gui backend part.
[unknown: 5]
25-Jan-2009
[1604x6]
Well that was my main problem.  I didn't like the layouts they presented 
either.  In fact this is one reason why I got out of the business. 
 It was costing me to much manual efforts to do the updating and 
I didn't have the time.
I had 14,000+ items on sale and couldn't put another 6000 plus that 
I wanted to put online.  And of the ones I did have online, I didn't 
have my best distributers content and pricing.
I used an oscommerce customer package that I payed for from a service 
which populated my distributers content.  they didn't support all 
my distributors which left me doing a lot of work.
I used Authorized.net as my payment gateway.  That was the plus side 
as Authorized.net is excellent.
I made the mistake of enabling my entire inventory on Shopzilla once. 
 Needless to say I had a LOT of traffic to mysite.  I had a lot of 
order but I had my competative pricing on and ended up losing money 
in advertising costs because of it.
Now, I'm a lot smarter ;-)
Robert
25-Jan-2009
[1610x3]
;-)
Ok, thanks for all this input. I will think about this a bit and 
see where to go. For me an online-shop system has to be made of independent 
modules.
Layout: Use what you like.

Item presentation: Dead simple integration into existing pages. No 
frills, simple to change.
Shopping Cart: Provides simple API that can be called via CGI
Payment Forwarding: Plug-Ins where to route the payment process
[unknown: 5]
25-Jan-2009
[1613x2]
The last two are pretty much what Oscommerce does now.
Some other packaged coupled with oscommerce do the others you listed. 
 There is no reason that REBOL can't do the same.
sqlab
25-Jan-2009
[1615]
From the dark ages long gone; 

did not Ralph Roberts a shopping system in Rebol for his book Rebol 
for Dummies ?
[unknown: 5]
25-Jan-2009
[1616x2]
I don't know as I never read it.
Only book I had on REBOL was the Official Guide Book and they used 
my review for rebolpress.com back in the day.
sqlab
25-Jan-2009
[1618]
Nor did i read it. But I think I remember something like that.
amacleod
11-Feb-2009
[1619x3]
Anyone know how to view a website you are are self hosting. I know 
you can view it using localhost but I want to use the url. I remember 
reading somewhere that it was possible but I can not find it now. 
Something about the DNS...
In case its not clear...I'm running the hhtp server on the same machine 
that i want ot view the site with.
hhtp =http
Brock
11-Feb-2009
[1622]
this is a guess,  http://domainName/virtualFolderPath
Janko
11-Feb-2009
[1623]
do you have a domain name assigned to your computer? if it is then 
you can access it as anybody else ... I am not sure I understand 
... if you have a virtual host set and you want to test if it works 
(and are on windos) you can add www.yourdomain.com  to hosts file 
in winnt/system32/drivers
Oldes
11-Feb-2009
[1624]
If you are on windows, check c:\WINDOWS\system32\drivers\etc\hosts 
file
amacleod
11-Feb-2009
[1625x3]
I'm using dyndns as I have a dynamic ip. 

If i type my url into the browser from a macine outside my local 
network I get my web page. If I do it from within my local network 
(even on a different machine) I can't not get through to the page 
"Cannot display webpage" error.

It's not just http. I'm accessing a mysql server too with the same 
problem resulting. 

I know I can use "localhost but I would need to change my code everytime 
I'm using it locally.
I was going to use a linux server...I' may switch back to windows 
though..
Oldes, That worked on my windows box. Thanks alot!

Anyone know how that works on a linux box?