From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,469b2bba5f3a7bd X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.129.169 with SMTP id nx9mr1490220pbb.2.1334239763200; Thu, 12 Apr 2012 07:09:23 -0700 (PDT) Path: r9ni47967pbh.0!nntp.google.com!news2.google.com!postnews.google.com!z17g2000yqf.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: New AWS-based website Date: Thu, 12 Apr 2012 07:07:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6ea96041-f949-421b-a76e-05ada890ec77@z17g2000yqf.googlegroups.com> References: <76df311e-7bac-4326-bf21-b611c701ebeb@do4g2000vbb.googlegroups.com> <4f868816$0$282$14726298@news.sunsite.dk> NNTP-Posting-Host: 213.77.7.66 Mime-Version: 1.0 X-Trace: posting.google.com 1334239763 22467 127.0.0.1 (12 Apr 2012 14:09:23 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 12 Apr 2012 14:09:23 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z17g2000yqf.googlegroups.com; posting-host=213.77.7.66; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-Via: 1.1 localhost (squid/3.1.6) X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-04-12T07:07:43-07:00 List-Id: On 12 Kwi, 09:45, Thomas Locke wrote: > Did you use templates_parser for the HTML, No, I don't see any benefit from it (ironically, this is how PHP was born!). > or something else? The HTML that is returned to the client is a combination of: - static constants, - generated (computed or obtained from the database or various local data structures) content, - files. It depends on the expected frequency of changes in the given content, but since each page is composed of elements from different categories, it is always some combination of these. There are no strictly static pages. I also did not use the AWS session management, as I find it not very convincing. Any nontrivial session-based operation requires the implementation of additional data structures, which can easily accommodate the complete session handling. There is no reason to use multiple layers of mapping data structures for something that is a consistent functional block. Also, no SOAP. In other words, considering that there are significant functionality areas of AWS which I did not use, I would very welcome a streamlined or core version of the library that provides only the most essential features. Let's call it "AWS Express Edition" or something like that... ;-) -- Maciej Sobczak * http://www.inspirel.com