Solar Shorts

View: New views
6 Messages — Rating Filter:   Alert me  

Solar Shorts

by Richard Thomas-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://www.phpjack.com/content/solar-framework-shorts-table-creation

Ok, so going to try to do at least a monthly short take on something  
in solar ;)

Richard Thomas
http://www.cyberlot.net




_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk

Re: Solar Shorts

by Kilbride, James P. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paul,

Could I suggest linking to these(or sucking Richard's shorts into) on the
main solar site? I think pulling them into solar's tutorial area would be a
great thing to do.

James Kilbride

-----Original Message-----
From: solar-talk-bounces@...
[mailto:solar-talk-bounces@...] On Behalf Of Richard Thomas
Sent: Thursday, September 17, 2009 1:21 PM
To: solar-talk@...
Subject: [Solar-talk] Solar Shorts

http://www.phpjack.com/content/solar-framework-shorts-table-creation

Ok, so going to try to do at least a monthly short take on something  
in solar ;)

Richard Thomas
http://www.cyberlot.net




_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk


_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk

smime.p7s (3K) Download Attachment

Re: Solar Shorts

by Paul M Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sep 17, 2009, at 12:21 , Richard Thomas wrote:

> http://www.phpjack.com/content/solar-framework-shorts-table-creation
>
> Ok, so going to try to do at least a monthly short take on something
> in solar ;)

Ooooo neat idea.  :-)

Some pointers:

1. You should be able to use Solar::$system instead of  
Solar_Config::get('Solar', 'system');

2. Similarly, you might want to keep initial data with the model  
itself in a subdirectory, like Setup/ or something.  That lets you use  
this:

     $file = Solar_Class::dir($this, 'Setup') . '/populate.sql';


Aside from that, very interesting.  Thanks for the writeup!


--

Paul M. Jones
http://paul-m-jones.com/




_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk

Re: Solar Shorts

by Richard Thomas-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://www.phpjack.com/taxonomy/term/3/0/feed

Is a feed to all solar articles

Would be the RSS Feed for the term Shorts..

Maybe a community articles page, That can suck in solar specific feeds  
from anyone who posts Solar articles..

I think third party articles should be kept off the main site directly  
due to maintenance reasons.  As Solar progresses these articles will  
quickly get out of date.

By having them linked through a community page it is easier to make  
this clear..

If I find an article ON the Solar Framework website, I am going to  
expect it to work with the package of Solar I just downloaded.

Just my thoughts ;)


Richard Thomas
http://www.cyberlot.net




On Sep 17, 2009, at 11:33 AM, Kilbride, James P. wrote:

> Paul,
>
> Could I suggest linking to these(or sucking Richard's shorts into)  
> on the
> main solar site? I think pulling them into solar's tutorial area  
> would be a
> great thing to do.
>
> James Kilbride
>
> -----Original Message-----
> From: solar-talk-bounces@...
> [mailto:solar-talk-bounces@...] On Behalf Of Richard  
> Thomas
> Sent: Thursday, September 17, 2009 1:21 PM
> To: solar-talk@...
> Subject: [Solar-talk] Solar Shorts
>
> http://www.phpjack.com/content/solar-framework-shorts-table-creation
>
> Ok, so going to try to do at least a monthly short take on something
> in solar ;)
>
> Richard Thomas
> http://www.cyberlot.net
>
>
>
>
> _______________________________________________
> Solar-talk mailing list
> Solar-talk@...
> http://mailman-mail5.webfaction.com/listinfo/solar-talk
> _______________________________________________
> Solar-talk mailing list
> Solar-talk@...
> http://mailman-mail5.webfaction.com/listinfo/solar-talk

_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk

Re: Solar Shorts

by Richard Thomas-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

             throw $this->_exception('ERR_NO_DIR_FOR_CLASS', array(

Inside Solar_Class::dir

Shouldn't that throw a Solar::exception


Richard Thomas
http://www.cyberlot.net




On Sep 17, 2009, at 11:54 AM, Paul M Jones wrote:

>
> On Sep 17, 2009, at 12:21 , Richard Thomas wrote:
>
>> http://www.phpjack.com/content/solar-framework-shorts-table-creation
>>
>> Ok, so going to try to do at least a monthly short take on something
>> in solar ;)
>
> Ooooo neat idea.  :-)
>
> Some pointers:
>
> 1. You should be able to use Solar::$system instead of
> Solar_Config::get('Solar', 'system');
>
> 2. Similarly, you might want to keep initial data with the model
> itself in a subdirectory, like Setup/ or something.  That lets you use
> this:
>
>     $file = Solar_Class::dir($this, 'Setup') . '/populate.sql';
>
>
> Aside from that, very interesting.  Thanks for the writeup!
>
>
> --
>
> Paul M. Jones
> http://paul-m-jones.com/
>
>
>
>
> _______________________________________________
> Solar-talk mailing list
> Solar-talk@...
> http://mailman-mail5.webfaction.com/listinfo/solar-talk

_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk

Re: Solar Shorts

by Jon Elofson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Richard, thanks for the post. I great idea. Hope you continue the shorts.
I also think somehow getting these content pieces onto the Solar site
would be worthwhile. If they are on the main Solar site, there is,
perhaps, more accountability on the author to keep the content
up-to-date. Perhaps when Solar is closer to stable, a review the site
might be worthwhile to ensure everything is current and presented in
the best way possible. Good documentation is an important piece to the
success of Solar (IMHO).

Jon


On Thu, Sep 17, 2009 at 2:15 PM, Richard Thomas <cyberlot@...> wrote:

> http://www.phpjack.com/taxonomy/term/3/0/feed
>
> Is a feed to all solar articles
>
> Would be the RSS Feed for the term Shorts..
>
> Maybe a community articles page, That can suck in solar specific feeds
> from anyone who posts Solar articles..
>
> I think third party articles should be kept off the main site directly
> due to maintenance reasons.  As Solar progresses these articles will
> quickly get out of date.
>
> By having them linked through a community page it is easier to make
> this clear..
>
> If I find an article ON the Solar Framework website, I am going to
> expect it to work with the package of Solar I just downloaded.
>
> Just my thoughts ;)
>
>
> Richard Thomas
> http://www.cyberlot.net
>
>
>
>
>
_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk