INFO-VAX Sun, 25 May 2008 Volume 2008 : Issue 290 Contents: Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Re: MAIL , unread messages and IMAP ---------------------------------------------------------------------- Date: Sat, 24 May 2008 14:44:56 -0700 (PDT) From: FrankS Subject: Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Message-ID: On May 22, 11:35=A0pm, "Peter Weaver" wrote: > I finally got enough free time to play with my Flex experiment again. It i= s > not fully polished but it is good enough (I hope) to show as an example. > Maybe someday I will get more time to play with it and polish it, or maybe= > someone reading this will take the task on. I quickly (very quickly) browsed through a Flex reference at the bookstore today, and didn't spot anything obvious about how to connect Flex to back-end data. So, what is used to grab data from VMS and make it available to Flex? You describe sending XML data, but is the interface SOA or something else? ------------------------------ Date: Sun, 25 May 2008 07:55:07 +0800 From: "Richard Maher" Subject: Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Message-ID: Hi Peter, > I added in some code so the numeric columns should be sorted correctly. I'm curious as to what code you added. I had a quick look at the dashboard example and the Datagrid, ArrayCollection and Array classes and couldn't see an easy way of setting the column attribute to numeric when in the resultHandler of an mx:HTTPService. Is that what you're using, or do you load one array and then reload that into a second datasource whilst casting to numeric? > The > date still will not sort correctly if you click on it, but the rows are > sorted by date when the data loads. Have a look at http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html could help. > Since the XML file for 4,000 records is > over 4 MB it may take a while to download. I re-read this in your original post and have to say I'm impressed! Any idea of the ratio between data and metadata? Any issues, concerns here? Does your VMS Flex compiler have the qualifier for production -vs- debug versions of the SWF? With FlexBuilder I was getting ~50% size reduction with the production export. > was testing this using a file with over 4,000 records and it took > 30 or 40 seconds to load on my LAN. I'd imagine if the file contained a lot more than 4K records or the user's selection criteria went a bit skew-whiff then it might be worth while having some cancel/abort functionality, or maybe start delivering the rows/records one at a time so that an certain amount of parallelism could be achieved with the Flex/Javascript enriching the data on the client while the server pumps out the data? Perhaps a record-count so the user could see what they're up to? Sound familiar :-) > Recently I was talking to a potential customer about managing > their system. When the request started going up the management chain someone > above said that the plan was to shutdown the VMS system because VMS is text > based and can not be used by a browser :(. To be fair to your customer, he does seem to have the facts on his side and those facts aren't all that historical :-( How many GUIs have you seen front-ending VMS applications (browser-based *or* stand-alone)? With the last ten years of VMS middleware development effort going into Bridgeworks, SOAP/Toolkit, WSIT, AXIS2, gSOAP, a.n.otherSlushFund, there simply hasn't been the funding for anything worthwhile and most tragically, the opportunity-cost has been enormous. And yet customers are still screaming out for someway, anyway to put a GUI on (and/or web-enable) their VMS 3GL applications :-( You like the pure Flex/WASD|Apache/Perl|PHY|Python|Ruby strategy, and so will many others, it's a broad church and I don't see why pluralism can't play it's part, just as long as VMS is the winner. Once again well done! Cheers Richard Maher "Peter Weaver" wrote in message news:043501c8bda9$d61a2720$2802a8c0@CHARONLAP... > > > >... > > As far as using the program goes, it should be fairly easy. If you click > > on > > a row then the details of that row are shown below. You can also click on > > the tops of each column to sort the records based on that column (OK, > > there > > are still problems here since it treats every number as text, if anyone > > figures that bug out then let me know) and you can add or remove columns > > by > > clicking on the boxes in the detail area. > >... > > I added in some code so the numeric columns should be sorted correctly. The > date still will not sort correctly if you click on it, but the rows are > sorted by date when the data loads. > > > If you want to try it on my system then point your browser at > > http://www.weaverconsulting.ca/accountng.swf. If you want to try it on > > your > > own system or try to make it better then send me an email asking for the > > source code. > >... > > It is nice to see that there is some interest in this, I had a few requests > for the source so far and about 50 unique IP addresses have looked at the > program running. > > I meant to mention in the original posting that one of the reasons I worked > on this was to once again demonstrate that VMS does not just mean VT > terminals. Recently I was talking to a potential customer about managing > their system. When the request started going up the management chain someone > above said that the plan was to shutdown the VMS system because VMS is text > based and can not be used by a browser :(. > > Peter Weaver > www.weaverconsulting.ca www.openvmsvirtualization.com > www.vaxvirtualization.com www.alphavirtualization.com > > ------------------------------ Date: Sun, 25 May 2008 08:06:00 +0800 From: "Richard Maher" Subject: Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Message-ID: Hi Frank, > You describe sending XML data, but is the > interface SOA or something else? There's heaps of Flex stuff on the web! A couple of references: - http://www.adobe.com/products/flex/ http://livedocs.adobe.com/flex/3/langref/index.html (It's like Javadocs) The true beauty of Adobe Flex in my eyes is it allows you to specify whatever datasource you like! Ajax, XML, SOAP, Hard-coded, or populated via some external source (in my case a Socket. (Flex also has it's own sockets)). Microsoft's Silverlight on the other hand not only forces you to use Ajax, but their specific version of Ajax :-( Cheers Richard Maher "FrankS" wrote in message news:f7018598-f1d0-459a-b467-6d9c7c53b5de@y21g2000hsf.googlegroups.com... On May 22, 11:35 pm, "Peter Weaver" wrote: > I finally got enough free time to play with my Flex experiment again. It is > not fully polished but it is good enough (I hope) to show as an example. > Maybe someday I will get more time to play with it and polish it, or maybe > someone reading this will take the task on. I quickly (very quickly) browsed through a Flex reference at the bookstore today, and didn't spot anything obvious about how to connect Flex to back-end data. So, what is used to grab data from VMS and make it available to Flex? You describe sending XML data, but is the interface SOA or something else? ------------------------------ Date: Sat, 24 May 2008 22:54:22 -0400 From: =?ISO-8859-1?Q?Arne_Vajh=F8j?= Subject: Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Message-ID: <4838d4dc$0$90262$14726298@news.sunsite.dk> Peter Weaver wrote: > I meant to mention in the original posting that one of the reasons I worked > on this was to once again demonstrate that VMS does not just mean VT > terminals. Recently I was talking to a potential customer about managing > their system. When the request started going up the management chain someone > above said that the plan was to shutdown the VMS system because VMS is text > based and can not be used by a browser :(. VMS is an excellent web server platform. It is much worse if they ask to run the browser on VMS ... Arne ------------------------------ Date: Sat, 24 May 2008 22:58:17 -0400 From: =?ISO-8859-1?Q?Arne_Vajh=F8j?= Subject: Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Message-ID: <4838d5c8$0$90271$14726298@news.sunsite.dk> FrankS wrote: > I quickly (very quickly) browsed through a Flex reference at the > bookstore today, and didn't spot anything obvious about how to connect > Flex to back-end data. So, what is used to grab data from VMS and > make it available to Flex? You describe sending XML data, but is the > interface SOA or something else? SOA is not a specific protocol, but a way of organizing your systems. There are plenty of possibilities. http://www.adobe.com/devnet/flex/articles/flexfaq.html#itemA-29 Arne ------------------------------ Date: Sat, 24 May 2008 21:45:35 -0600 From: Mark Berryman Subject: Re: MAIL , unread messages and IMAP Message-ID: <48387e71@mvb.saic.com> JF Mezei wrote: > Michael Austin wrote: >> What version VMS and which version/TCPIP stack? > > 8.3 alpha. 5.6 tcpip services. > > Not sure if this is an IMAP server issue or if it is the client. > > When a client gets a new email from the server, is the server supposed > to automatically refile it in the "READ" folder (aka from "NEWMAIL" to > "MAIL" for vmsmail). ? > > Or is it the client's job to request the document to be refiled ? The client's job. No email package I've ever come across is designed for mixing IMAP and POP clients. Most VMS IMAP clients will treat the NEWMAIL folder as the INBOX. Unless your client tells the server to do something with the message after it is read, it remains in the NEWMAIL folder. The POP client only knows about one folder (usually the NEWMAIL folder although some packages allow this to be customized) and it will simply fetch every message in that folder. Moving messages from NEWMAIL to MAIL is a function of the VMS mail client, not the VMS mail server. You either have to do something to duplicate that in your IMAP client, or you will reread every message when you connect with your POP client (and, unless the POP client is configured to leave messages it fetches on the server, the POP client will delete all the mail and your IMAP client won't see it anymore). Mark Berryman ------------------------------ End of INFO-VAX 2008.290 ************************