Re: OT: Future of PHP - LAMP Based Web Site Technology

2007-08-25 Thread Josh Mellicker

Here's part of Apple.com written in php:

http://www.apple.com/software/pro/training/centers.php

Hehe, they have the old header from months ago... someone needs to  
wake up in that department.




On Aug 24, 2007, at 6:06 PM, Brian Yennie wrote:


Sivakatirswami,

FWIW, Flickr actually *is* written in PHP. They just use browser  
friendly URLs (which are easily configured with Apache to hide  
things like .php extensions). Cal Henderson, the original lead  
developer, actually wrote a great book: Building Scalable Web Sites  
(The Flickr Way) which uses PHP throughout.


Facebook is also written in PHP, and many other large sites. I  
think you'll find that the language has a huge installed base and  
will be around quite some time.


With that said, I would focus on what people with similar needs to  
your are using - and don't assume that you can tell just by  
visiting their site. If you can't tell what they are using, there  
is a decent chance it's PHP!


In regards to your html snippet, I would just say that using PHP  
doesn't mean that you have to run *everything* through PHP. You can  
most certainly supply links to static content. For example, there  
is no reason per se to have your privacy policy coming from a PHP  
file- it might as well just be privacy.html. If you use an off-the- 
shelf CMS solution, you may find that everything gets tunneled  
through PHP scripts, but even that is not so bad -- the performance  
is quite good if properly configured (and/or if you aren't taking  
on a huge amount of traffic). Either which way, I wouldn't find the  
snippet you posted alarming - it all really depends on your needs  
and what kind of data you are going to be displaying on those pages.


Hope that helps and feel free to contact me off-list if you have  
specific PHP questions that I might be able to help you with.



This is a super blue sky query for comment:

We're interested in possibly outsourcing some web dev. In response  
to any RFP we might issue
we will no doubt get a number of developers using LAMP. I already  
have one handy.


All his web sites are *.php based  (and table based) zero  
javascript or AJAX.


We are wondering about the future of putting a huge amount of data
into a PHP based web container

Anyone have any comments? PHP is alive and well and moving forward...
It is the basis for our wiki (PMwiki)

On the other hand I don't see any in use in many progressive Web  
2.0 sites.

Not a single page at www.apple.com  google or Flickr uses PHP.

If we were, e.g. to take www.hinduismtoday.com from it current  
retro state
(very much in need of a make over) to a new future, I'm concerned  
that
pouring all that content into LAMP, could throttle any movement  
forward after that...


Our content is a perfect candidate from offering API's for mashups.
And our mission statement would definitely involve taking the  
wrapper

off the data and making it available.

This kind of code (below) makes me nervous... but I don't know if  
my gut feeling
is simply based on ignorance of the unknown, or if it is a valid  
intuition that

if we went this direction we would be hobbling our future:

# every single dynamic element involves kicking the PHP can...

brfont class=footer
A href=http://www.kauaiunitedway.org/ class=footermenuHome/A  |
A href=subpage.php?main_cat_id=1 class=footermenuAbout Kauai  
United Way/A  |

A href=subpage.php?main_cat_id=2 class=footermenuContribute/A  |

A href=subpage.php?main_cat_id=3 class=footermenuParticipating  
Agencies/A  |

A href=contact.php class=footermenuContact/A  |
A href=subpage.php?main_cat_id=5 class=footermenuNews/A  |
A href=subpage.php?main_cat_id=6 class=footermenuFrequently  
Asked Questions/A  |

A href=sitemap.php class=footermenuSitemap/A  |
A href=privacy.php class=footermenuPrivacy/A  |

A href=linktous.php class=footermenuLink to Us/A

Insights anyone? This is a no holds barred discussion: tell it  
like you see it.
if it is felt this should not be exposed on the list, email me off  
list...

up to you. Though I suspect it would interest many here...

TIA:

Looking for the Big Picture
on Future Web Dev

Sivakatirswami




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


---
Brian Yennie
QLD Learning


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Saving a field containing text and images

2007-08-25 Thread Éric Miclo

Hello,

Does anybody know how to save the content of a field populated with  
text and images (chars set with imageSource)?


Thanks a lot for any advice.

Best,

ÉrIC

-- My NeXT computer will Be a Mac too! --


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving a field containing text and images

2007-08-25 Thread Eric Chatonet

Bonjour Eric,

Le 25 août 07 à 13:45, Éric Miclo a écrit :


Hello,

Does anybody know how to save the content of a field populated with  
text and images (chars set with imageSource)?


Thanks a lot for any advice.

Best,

ÉrIC


It depends where you want to save your field.
But in Rev, if you save the hmltText of your field you should be able  
to get all data:


pEric img src=1004Miclo/p

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev Studio and Vista

2007-08-25 Thread Len Morgan
I've just gotten a new computer and want to retire my old (XP Pro) 
desktop.  The new machine is a laptop and I'm a heavy user of 
Galaxy/GLX2.  I can't seem to find where to install the plugins (in 
general) under Vista.  The \Documents and Settings\USERNAME\My 
Revolution Studio isn't anywhere to be found.


Where exactly is the Special Folder for plugins and while we're at it, 
where can I install a Rev app so that it is available to all users of a 
computer (on Vista).  I used to use Documents and Settings\All 
Users\Application Data\AppName


Thanks!

Len Morgan

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev Studio and Vista

2007-08-25 Thread Jerry Daniels

Len,

I've looked at Vista and it has the same set up system as XP. You do  
have a folder where your documents are supposed to reside. You can  
discover that with the specialFolderPath function, if need be.


HOWEVER, on installing Revolution, it does NOT create the third party  
plugins folder for you. You have to do this yourself, or use the  
Galaxy 1.5 Installer to install Galaxy to create it.


All that said, the easy way to solve this problem is to create the  
third party plugins folder yourself. Create My Revolution Studio  
folder in your blessed documents folder. Then within the newly  
created My Revolution Studio folder, create a folder called  
plugins and put your Galaxy Studio Startup.rev file and your  
GLX2 Code.rev files in there. Then restart Revolution on your Vista  
machine and you'll be as right as rain.


Lemme know if you have any more problems.

JD

On Aug 25, 2007, at 9:14 AM, Len Morgan wrote:

I've just gotten a new computer and want to retire my old (XP Pro)  
desktop.  The new machine is a laptop and I'm a heavy user of  
Galaxy/GLX2.  I can't seem to find where to install the plugins (in  
general) under Vista.  The \Documents and Settings\USERNAME\My  
Revolution Studio isn't anywhere to be found.


Where exactly is the Special Folder for plugins and while we're  
at it, where can I install a Rev app so that it is available to all  
users of a computer (on Vista).  I used to use Documents and  
Settings\All Users\Application Data\AppName


Thanks!

Len Morgan

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving a field containing text and images

2007-08-25 Thread Éric Miclo

Bonjour Éric,

Merci pour la réponse rapide, comme d'habitude.
J'ai fait des essais en enregistrant le htmlText du champ, mais il  
faut ensuite exporter toutes les images, ce qui peut entraîner la  
création de nombreux fichiers.
J'aurais bien voulu enregistrer le tout dans un fichier rtf, mais là  
je ne vois pas comment faire. Sais-tu si quelque chose de ce genre  
est possible ?


Salutations d'Alsace,

ÉrIC

Hello Éric,

Thanks for your quick answer, as usual.
I've made some testing by saving the field's htmlText , but after  
that you need to export all the images and it can lead to the  
creation of a huge number of files.
I'd prefered saving all in a rtf, but here I don't know how to do it.  
Do you you if something like that is possible?


Greetings from Alsace,

ÉrIC

Le 25 août 07 à 13:51, Eric Chatonet a écrit :


Bonjour Eric,

Le 25 août 07 à 13:45, Éric Miclo a écrit :


Hello,

Does anybody know how to save the content of a field populated  
with text and images (chars set with imageSource)?


Thanks a lot for any advice.

Best,

ÉrIC


It depends where you want to save your field.
But in Rev, if you save the hmltText of your field you should be  
able to get all data:


pEric img src=1004Miclo/p

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



-- My NeXT computer will Be a Mac too! --


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


question about saveStackRequest

2007-08-25 Thread Andre Garzia
Hello Folks,
I am trying to monitor when the IDE saves a stack. I tried using
saveStackRequest on a backscript and on a frontscript, both without success.
I can't put the handler inside the given stacks because I don't know in
advance which stack will be monitored.

The idea is to watch when a user saves some stack and replicate this stack
to a remote server. The stack is added to a watch list by the user,
something like: (*) Keep server up to date and from that point on, the
stack is thus watched.

In my tests here, my scripts running as a front or back script can't see
that event. I believe that the IDE is sending that directly to the stack
without going thru the message path, is this possible?

Any Clue?

Andre
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving a field containing text and images

2007-08-25 Thread Richard Gaskin

Éric Miclo wrote:
I've made some testing by saving the field's htmlText , but after  
that you need to export all the images and it can lead to the  
creation of a huge number of files.
I'd prefered saving all in a rtf, but here I don't know how to do it.  


If you need these files to be opened with other apps, then something 
like RTF would be the way to go.  Given all the support Rev has built-in 
for things like base64, imageData, etc., I would imagine one could write 
RTFs with embedded images without much trouble.  Of course if you want 
these displayable in your app too you'll need to write an RTF parser 
than pulls the images back out again when reading.


If yours is the only app that will read these files, you could also 
consider saving a stack file as the document.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: question about saveStackRequest

2007-08-25 Thread Eric Chatonet

Hi ANdre,

You might try to trap 'revSaveStackRequest', a message listed among  
the ones a plugin can receive.

Sounds a good direction to go :-)

Le 25 août 07 à 17:31, Andre Garzia a écrit :


Hello Folks,
I am trying to monitor when the IDE saves a stack. I tried using
saveStackRequest on a backscript and on a frontscript, both without  
success.
I can't put the handler inside the given stacks because I don't  
know in

advance which stack will be monitored.

The idea is to watch when a user saves some stack and replicate  
this stack

to a remote server. The stack is added to a watch list by the user,
something like: (*) Keep server up to date and from that point on,  
the

stack is thus watched.

In my tests here, my scripts running as a front or back script  
can't see
that event. I believe that the IDE is sending that directly to the  
stack

without going thru the message path, is this possible?

Any Clue?

Andre



Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving a field containing text and images

2007-08-25 Thread Stephen Barncard
It's possible but complicated. I don't know if you need a document 
readable by something else, but if it's all to be saved and loaded by 
your app, it can be done.


I've experimented with with saving all fields and images in a group 
as text descriptions.


to keep the size down, all images are referenced rather than actually 
hold image data.


1. I get all the properties of the object into an array, and fix the 
returns that are in certain properties (like colors) to some other 
character.

2. Then I flatten the array to a list with combine.
3. Base64Encode the list
4. Replace the returns in the Base64 encoded list with linefeeds
5. this results in a single line
6  Add  a key identifying what the object is (field, image, etc)  
tab and then the data

7. Build the list with other objects, one per line
8. save as a single text file. This will be very small.

By saving all the properties, you are also saving the HTMLtext and 
rect information.
If the images have been resized, you also may have to save a line of 
actual rects and resize upon expanding.


On expanding, all the fields and images are recreated and the saved 
properties expanded (reverse of above) and applied to the created 
objects, and they will be arranged exactly as you saved them. The 
Base64 encoded text does not have to have the returns restored; it 
reads sections by number of characters, not delimiter.


this former theory has been tested and works. It's also really fast 
with text fields, images take a little longer to 'decode', but 
totally acceptable for say, a labeler or something.


sqb





Thanks for your quick answer, as usual.
I've made some testing by saving the field's htmlText , but after 
that you need to export all the images and it can lead to the 
creation of a huge number of files.
I'd prefered saving all in a rtf, but here I don't know how to do 
it. Do you you if something like that is possible?




--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: question about saveStackRequest

2007-08-25 Thread Richard Gaskin

Eric Chatonet wrote:

 Le 25 août 07 à 17:31, Andre Garzia a écrit:
 I am trying to monitor when the IDE saves a stack. I tried
 using saveStackRequest on a backscript and on a frontscript,
 both without success.
...
 In my tests here, my scripts running as a front or back
 script can't see that event. I believe that the IDE is
 sending that directly to the stack without going thru the
 message path, is this possible?

 You might try to trap 'revSaveStackRequest', a message listed
 among the ones a plugin can receive.

It would be a shame if Rev's IDE design prevented their own message path 
from working as documented.


One could use their replicant mirror messages, but why indulge the 
inefficiency?


If they're able to generate their scripted mirror messages, the built-in 
messages from which they're derived must be working fine.


My hunch is that they're just trapping and not passing the 
saveStackRequest message.


I was able to find this in their revFrontScript:

on saveStackRequest

  global gREVMessageDispatch
  repeat for each line l in gREVMessageDispatch[revSaveStackRequest]
send revSaveStackRequest to this cd of stack l
  end repeat

  put the short name of the owner of the target into tStackName
  revCheckScriptSaved tStackName

  put empty into gREVStackStatus[revTargetStack(the target)]
  if id 1230 is in the frontScripts and revTools is in the 
frontScripts then

select empty
send revSetMarkers true to btn revReshape of stack revTools
remove script of btn revReshape of stack revTools from front
  end if

  if not gREVSuppressMessages or (gREVSuppressMessages and 
revOKTarget()) then pass saveStackRequest

  else pass saveStackRequest to metaCard
end saveStackRequest


So it seems the passing of the native message is conditional.  I didn't 
dig through the code to try to determine how that condition gets met, 
but hopefully this will get you started.



--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev Studio and Vista

2007-08-25 Thread Ken Ray
On Sat, 25 Aug 2007 09:14:33 -0500, Len Morgan wrote:

 I've just gotten a new computer and want to retire my old (XP Pro) 
 desktop.  The new machine is a laptop and I'm a heavy user of 
 Galaxy/GLX2.  I can't seem to find where to install the plugins (in 
 general) under Vista.  The \Documents and Settings\USERNAME\My 
 Revolution Studio isn't anywhere to be found.

In Vista that's now:

  C:\Users\USERNAME\Documents\My Revolution Studio

But as Jerry pointed out, this isn't created automatically by 
Revolution; you'd have to create itt yourself.
 
 Where exactly is the Special Folder for plugins and while we're at 
 it, where can I install a Rev app so that it is available to all 
 users of a computer (on Vista).  I used to use Documents and 
 Settings\All Users\Application Data\AppName

In Vista this is now:

  C:\ProgramData

You can see these all listed at the 'specialFolderPath Codes' tip on my 
site - I've bookmarked it because I use it so often:

 http://www.sonsothunder.com/devres/revolution/tips/file010.htm


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving a field containing text and images

2007-08-25 Thread Éric Miclo

Hello Richard,

Well, I'd like to save the field in RTF with images embeded so other  
apps could open it.
The problem is that I don't know how to add an image to a RTF file.  
I've played with base64Encode, imageData, etc without result.
In fact I have no idea in what format the image has to be encoded to  
add it at a RTF file.

Do you have some example?

I'll continue to search on the net, but so far I didn't find  
something usefull.


Thanks, best,

ÉrIC

Le 25 août 07 à 17:33, Richard Gaskin a écrit :


Éric Miclo wrote:
I've made some testing by saving the field's htmlText , but after   
that you need to export all the images and it can lead to the   
creation of a huge number of files.

I'd prefered saving all in a rtf, but here I don't know how to do it.


If you need these files to be opened with other apps, then  
something like RTF would be the way to go.  Given all the support  
Rev has built-in for things like base64, imageData, etc., I would  
imagine one could write RTFs with embedded images without much  
trouble.  Of course if you want these displayable in your app too  
you'll need to write an RTF parser than pulls the images back out  
again when reading.


If yours is the only app that will read these files, you could also  
consider saving a stack file as the document.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



-- My NeXT computer will Be a Mac too! --


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving a field containing text and images

2007-08-25 Thread Phil Jimmieson

Quoting Éric Miclo [EMAIL PROTECTED]:


Hello Richard,

Well, I'd like to save the field in RTF with images embeded so other
apps could open it.
The problem is that I don't know how to add an image to a RTF file.
I've played with base64Encode, imageData, etc without result.
In fact I have no idea in what format the image has to be encoded to
add it at a RTF file.
Do you have some example?

I'll continue to search on the net, but so far I didn't find
something usefull.


Hi Éric
If you find anything useful it'd be good to see it here. In the
meantime, if you'd like Revolution to be able to save the images in a
field along with the text when you retrieve the RTFtext of a field, you
could consider voting for this enhancement request:

http://quality.runrev.com/qacenter/show_bug.cgi?id=4231


Le 25 août 07 à 17:33, Richard Gaskin a écrit :


Éric Miclo wrote:

I've made some testing by saving the field's htmlText , but after
that you need to export all the images and it can lead to the
creation of a huge number of files.
I'd prefered saving all in a rtf, but here I don't know how to do it.


If you need these files to be opened with other apps, then
something like RTF would be the way to go.  Given all the support
Rev has built-in for things like base64, imageData, etc., I would
imagine one could write RTFs with embedded images without much
trouble.  Of course if you want these displayable in your app too
you'll need to write an RTF parser than pulls the images back out
again when reading.


I'll have to have a look and see how difficult it would be to write
something to save an image as RTF. It would be very useful for my major
Rev project.

--
Phil Jimmieson
The University of Liverpool, Computer Science Dept, Ashton Bldg,
Ashton Street, Liverpool  L69 3BX   0151 795 4236


This message was sent using IMP, the Internet Messaging Program.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving a field containing text and images

2007-08-25 Thread Éric Miclo


Le 25 août 07 à 19:17, Phil Jimmieson a écrit :


Quoting Éric Miclo [EMAIL PROTECTED]:


Hello Richard,

Well, I'd like to save the field in RTF with images embeded so other
apps could open it.
The problem is that I don't know how to add an image to a RTF file.
I've played with base64Encode, imageData, etc without result.
In fact I have no idea in what format the image has to be encoded to
add it at a RTF file.
Do you have some example?

I'll continue to search on the net, but so far I didn't find
something usefull.


Hi Éric
If you find anything useful it'd be good to see it here. In the
meantime, if you'd like Revolution to be able to save the images in a
field along with the text when you retrieve the RTFtext of a field,  
you

could consider voting for this enhancement request:

http://quality.runrev.com/qacenter/show_bug.cgi?id=4231


Hello Phil,

OK, I did vote for it.
I did also already vote for enhancement concerning the way text is  
handled in fields  (4944) but I'm afraid that we won't see something  
about that for a very long time :-(


Best,

ÉrIC





Le 25 août 07 à 17:33, Richard Gaskin a écrit :


Éric Miclo wrote:

I've made some testing by saving the field's htmlText , but after
that you need to export all the images and it can lead to the
creation of a huge number of files.
I'd prefered saving all in a rtf, but here I don't know how to  
do it.


If you need these files to be opened with other apps, then
something like RTF would be the way to go.  Given all the support
Rev has built-in for things like base64, imageData, etc., I would
imagine one could write RTFs with embedded images without much
trouble.  Of course if you want these displayable in your app too
you'll need to write an RTF parser than pulls the images back out
again when reading.


I'll have to have a look and see how difficult it would be to write
something to save an image as RTF. It would be very useful for my  
major

Rev project.

--
Phil Jimmieson
The University of Liverpool, Computer Science Dept, Ashton Bldg,
Ashton Street, Liverpool  L69 3BX   0151 795 4236


This message was sent using IMP, the Internet Messaging Program.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



-- My NeXT computer will Be a Mac too! --


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving a field containing text and images

2007-08-25 Thread Richard Gaskin

Éric Miclo wrote:

Well, I'd like to save the field in RTF with images embeded so other  
apps could open it.
The problem is that I don't know how to add an image to a RTF file.  
I've played with base64Encode, imageData, etc without result.
In fact I have no idea in what format the image has to be encoded to  
add it at a RTF file.

Do you have some example?


Not at the moment. I've never had a need for this myself, but if I did 
I'd find the published RTF specs and figure out what they require:


http://www.google.com/search?q=RTF+specification

I'm sure it'll be tedious to craft, but probably not prohibitively 
complicated.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


FTPing a Rev OSX app

2007-08-25 Thread Richard Miller
I'm sure this has been talked about before, but I can't seem to put  
my finger on the answer.


I need to download via ftp (via RunRev code) a Mac Rev app off our  
remote server (a Mac Mini server) as part of an automatic file  
updating process when our Rev application starts up. What's the best  
way to do that, given the package structure of OSX apps? Clearly, an  
OSX Rev app cannot be treated the same as a Windows Rev exe. I  
thought it would be adequate to simply treat the .app as a folder and  
go into the Contents folder (when viewing the Package Contents), then  
inside the MacOS folder, then update only the actual UNIX executable  
file in there, but this doesn't seem to be working.


Thanks for any suggestions.
Richard Miller


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: jjAnswerFTPfile and jjAnswerFTPfolder

2007-08-25 Thread Josh Mellicker

Added cute little blue folder icons.

Done for now... I think!


latest version:

http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip



On Aug 24, 2007, at 5:52 PM, Josh Mellicker wrote:


 - Fixed a bug causing stack not to show.

 - Make folder button now works.

 - Syntax now includes tWindowTitle parameter :

  jjAnswerFTPfile tURL, tUserName, tPassword, tWindowTitle, tMsg

  jjAnswerFTPfolder tURL, tUserName, tPassword, tWindowTitle, tMsg,  
showFiles



latest version:

http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip


Enjoy!



On Aug 23, 2007, at 5:54 PM, Josh Mellicker wrote:

Answer file and answer folder are great ways for the user (or  
coder) to browse their local hard drive and select a folder or file.


But browsing a remote FTP folder has never been as easy- until now!


Here is a stack you can include as a substack in your projects  
that make browsing and choosing remote folders and files as easy  
as local ones.



Instructions:

jjAnswerFTPfile:


Syntax:
jjAnswerFTPfile tURL, tUserName, tPassword, tMsg

Description:
tURL: the URL of the site (example: craniumnet.com)
tUserName: the FTP username
tPassword: the FTP password
tMsg: the dialog message you want to appear (example: Please  
choose a file)


You will find the remote file and path in the DialogData.



jjAnswerFTPfile:


Syntax:
jjAnswerFTPfolder tURL, tUserName, tPassword, tMsg, showFiles


Description:
tURL: the URL of the site (example: craniumnet.com)
tUserName: the FTP username
tPassword: the FTP password
tMsg: the dialog message you want to appear (example: Please  
choose a folder)
showFiles: set this to showFiles if you want files to appear in  
the browser. Leave it empty (or set it to anything else) if you  
want only folders showing up.


You will find the path to the remote folder in the DialogData.


---

This is far from polished, for example, the make new folder  
button doesn't work yet :-)


Also, you may want not just the path returned by the correct ftp  
string for accessing the data, which can be easily done with a  
slight mod. I will upload this one soon, let me know if you have  
questions.


---

For the demo, just fill in the fields and hit the buttons to see a  
demonstration.


Anyway, I hope this will prove valuable to those of you needing to  
browse and choose remote files and folders.


The stack is here:

leapingbrain.com/products/jjanswerFTPdemo.rev.zip
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Converting stacks in XPS file format

2007-08-25 Thread Alejandro Tejada
Hi all,

I have been reading about the XPS file format
proposed by Microsoft.

Does anyone have a handler to convert 
text fields, vector graphics and images 
from a stack in a XPS document?

Thanks in advance.

alejandro

Visit my site:
http://www.geocities.com/capellan2000/


   

Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: FTPing a Rev OSX app

2007-08-25 Thread Andre Garzia
Richard,
never transfer MacOS files thru ftp without putting them on a safe
container. Best way to transfer your application is by using a zip file. Zip
the application bundle and use RevZip functions to extract it later. This is
actually how Revolution own updater works I think.

Andre

On 8/25/07, Richard Miller [EMAIL PROTECTED] wrote:

 I'm sure this has been talked about before, but I can't seem to put
 my finger on the answer.

 I need to download via ftp (via RunRev code) a Mac Rev app off our
 remote server (a Mac Mini server) as part of an automatic file
 updating process when our Rev application starts up. What's the best
 way to do that, given the package structure of OSX apps? Clearly, an
 OSX Rev app cannot be treated the same as a Windows Rev exe. I
 thought it would be adequate to simply treat the .app as a folder and
 go into the Contents folder (when viewing the Package Contents), then
 inside the MacOS folder, then update only the actual UNIX executable
 file in there, but this doesn't seem to be working.

 Thanks for any suggestions.
 Richard Miller


 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: FTPing a Rev OSX app

2007-08-25 Thread Stephen Barncard

OR...

you could host just the main stack on a server which could be updated by FTP

and make a 'splash screen'  standalone to launch it.   The stack can 
be directly loaded from the server. Since it all goes to memory, the 
functionality won't suffer at all.




Richard,
never transfer MacOS files thru ftp without putting them on a safe
container. Best way to transfer your application is by using a zip file. Zip
the application bundle and use RevZip functions to extract it later. This is
actually how Revolution own updater works I think.

Andre


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Make box of checkbox transparent

2007-08-25 Thread Mikey
I have a stack that has a background color.  I'd like my checkboxes to
be transparent so as to carry the background color through.  This is
on XP.  How would I go about doing that?  Opaque doesn't help.
Blending doesn't seem to, either.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: question about saveStackRequest

2007-08-25 Thread J. Landman Gay

Andre Garzia wrote:


In my tests here, my scripts running as a front or back script can't see
that event. I believe that the IDE is sending that directly to the stack
without going thru the message path, is this possible?


The docs say that when the user chooses to save, Rev locks messages to 
ensure the save occurs. I'm not sure what it does to the message after 
that, but since it is an IDE behavior, I'm pretty sure your standalone 
will work correctly. I've never had any problem with the message in 
standalones.



--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: question about saveStackRequest

2007-08-25 Thread J. Landman Gay

Richard Gaskin wrote:

  if not gREVSuppressMessages or (gREVSuppressMessages and 
revOKTarget()) then pass saveStackRequest

  else pass saveStackRequest to metaCard
end saveStackRequest


So it seems the passing of the native message is conditional.  I didn't 
dig through the code to try to determine how that condition gets met, 
but hopefully this will get you started.


It's conditional, but looks like it is behaving correctly. The condition 
is basically to always pass the message unless the user has specifically 
turned off messaging via the toolbar icon. The message will also be 
passed regardless of the toolbar setting if the target stack is in the 
IDE (I think; have to look up targetOK.) If messaging *is* turned off 
and the target stack is a user stack, then the command is sent directly 
to the engine, bypassing the stack (appropriately.)



--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


how to get the frame rate of a Quicktime movie?

2007-08-25 Thread Josh Mellicker


I found the following post from 2002:



Thanks Karl

Here's what I have come up with so far.

To determine the frame-rate of a video clip:

It seems that if you advance the video clip from 0 by 1 frame (play  
step
forward) and divide the timescale property by the currenttime  
property, the

result is the video frame rate.

Can anyone think of a better solution?

Quicktime has both a timescale and a timebase property, but RR  
doesn't seem

able to access the timebase.
--
Robert Arnold
Associate Professor of Film
Boston University
Tel (617) 353-7735  Fax (617) 353-1084
http://people.bu.edu/rfarnold/



I have tried play step forward in a myriad of forms.

Has anyone successfully used this command?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution