Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
ColdMVC Updates 1.3.7
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tony Nelson  
View profile  
 More options Jun 6 2011, 10:44 pm
From: Tony Nelson <tonynelso...@gmail.com>
Date: Mon, 6 Jun 2011 19:44:33 -0700 (PDT)
Local: Mon, Jun 6 2011 10:44 pm
Subject: ColdMVC Updates 1.3.7
I just committed some updates to the framework that people might be
interested in.

1. Thanks to inspiration from http://html5boilerplate.com/, the
ColdMVC head tag (<c:head />) will now output multiple <head> tags
wrapped in IE conditional comments, like such:

        <!--[if lt IE 7]> <html class="no-js ie6" lang="en"> <![endif]-->
        <!--[if IE 7]> <html class="no-js ie7" lang="en"> <![endif]-->
        <!--[if IE 8]> <html class="no-js ie8" lang="en"> <![endif]-->
        <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--


2. Added the <c:charset /> tag that outputs: <meta charset="utf-8" />

3. Added the <c:viewport /> tag that outputs: <meta name="viewport"
content="width=device-width, initial-scale=1.0" />

4. Added isMobile() to the request helper and exposed it as both a
view helper and an action helper, courtesy of http://detectmobilebrowser.com/.

5. Updated the CGI scope helper facade so that you can modify the
values if you need to. This is done by copying the CGI scope into the
request scope when you first try to access it. For example, now when
you call $.cgi.get("request_method"), it will actually access
request.coldmvc.cgi.request_method rather than cgi.request_method
directly. This can be very useful if your app runs behind a proxy
server.

6. Added support for status text based error views. If your
application has an ErrorController, all errors are automatically
trapped during request dispatching and routed through the
ErrorController. ColdMVC will then attempt to render a status-specific
error view, first checking to see if a status code template exists ("/
views/error/404.cfm"), then check to see if a status text template
exists ("/views/error/not_found.cfm"), then a default error template
("/views/error/index.cfm"). I'll try to add some official
documentation for error handling to the reference guide sometime soon,
but for now hopefully this will suffice.

These changes were all included in version 1.3.7. Let me know if you
have any questions or comments.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Arneson  
View profile  
 More options Jun 17 2011, 4:20 pm
From: Ryan Arneson <arne...@gmail.com>
Date: Fri, 17 Jun 2011 13:20:01 -0700 (PDT)
Local: Fri, Jun 17 2011 4:20 pm
Subject: Re: ColdMVC Updates 1.3.7
I think you mean <c:html> not <c:head> in bullet point 1.

On Jun 6, 9:44 pm, Tony Nelson <tonynelso...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Nelson  
View profile  
 More options Jun 17 2011, 4:26 pm
From: Tony Nelson <tonynelso...@gmail.com>
Date: Fri, 17 Jun 2011 15:26:23 -0500
Local: Fri, Jun 17 2011 4:26 pm
Subject: Re: ColdMVC Updates 1.3.7

Good catch. <c:html> was updated, not <c:head>

https://github.com/tonynelson19/ColdMVC/blob/master/app/tags/html.cfm

-Tony


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Vega  
View profile  
 More options Jun 17 2011, 4:32 pm
From: Dan Vega <danv...@gmail.com>
Date: Fri, 17 Jun 2011 16:32:17 -0400
Local: Fri, Jun 17 2011 4:32 pm
Subject: Re: ColdMVC Updates 1.3.7

dumb question but why all the custom tags?

do you really need  <c:charset /> to output a meta tag?

Thank You
Dan Vega
danv...@gmail.com
http://www.danvega.org/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Nelson  
View profile  
 More options Jun 17 2011, 4:43 pm
From: Tony Nelson <tonynelso...@gmail.com>
Date: Fri, 17 Jun 2011 13:43:34 -0700 (PDT)
Local: Fri, Jun 17 2011 4:43 pm
Subject: Re: ColdMVC Updates 1.3.7
You definitely don't need to use the tags. They're just there to
provide convenience with sensible default values.

In the case of the charset tag, it doesn't provide a whole lot of
additional value, so it's really up to the developer if they want to
use it or not.

I added it to the framework after seeing what Zend had to offer for
view helpers and thought it made sense, especially since it's so
simple: http://framework.zend.com/manual/en/zend.view.helpers.html

In case you're curious, Mach-II also has a charset custom tag, so I'm
not totally crazy: http://trac.mach-ii.com/machii/wiki/HTMLHelperProperty#Usingthecharse...

-Tony

On Jun 17, 3:32 pm, Dan Vega <danv...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Vega  
View profile  
 More options Jun 17 2011, 4:47 pm
From: Dan Vega <danv...@gmail.com>
Date: Fri, 17 Jun 2011 16:47:01 -0400
Local: Fri, Jun 17 2011 4:47 pm
Subject: Re: ColdMVC Updates 1.3.7

I never said you were crazy... it just seemed silly but I got ya.. hopefully
one of these days I can get caught up.

Thank You
Dan Vega
danv...@gmail.com
http://www.danvega.org/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »