I''m hand editing my .css and .rhtml files using SciTE and hitting refresh in my browser to see the results - its slow going. What tools are people using to author their .css and .rhtml files? Thanks, Neville _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Neville Burnell schrieb:> I''m hand editing my .css and .rhtml files using SciTE and hitting > refresh in my browser to see the results - its slow going. > > What tools are people using to author their .css and .rhtml files?Vim has a rhtml mode if you install it correctly. http://vim.sourceforge.net/scripts/script.php?script_id=403 Only syntax highlighting though. And you should be familiar with Vim of course. Sascha
Hi, There''s a plugin for Firefox that enables to change the CSS and, real time, see the changes (http://editcss.mozdev.org/) . Its useful to fix something, but not to edit complete CSS files. regards, juca On Thu, 3 Mar 2005 18:48:18 +1100, Neville Burnell <Neville.Burnell-uEDVyssJ3mUpAS55Wn97og@public.gmane.org> wrote:> > I''m hand editing my .css and .rhtml files using SciTE and hitting refresh in > my browser to see the results - its slow going. > > What tools are people using to author their .css and .rhtml files? > > Thanks, > > Neville > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- juraci krohling costa http://jkcosta.info
On Thu, 3 Mar 2005 09:57:24 -0300, Juraci Krohling Costa <partenon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > There''s a plugin for Firefox that enables to change the CSS and, real > time, see the changes (http://editcss.mozdev.org/) . Its useful to fix > something, but not to edit complete CSS files. > > regards, > juca > > On Thu, 3 Mar 2005 18:48:18 +1100, Neville Burnell > <Neville.Burnell-uEDVyssJ3mUpAS55Wn97og@public.gmane.org> wrote: > > > > I''m hand editing my .css and .rhtml files using SciTE and hitting refresh in > > my browser to see the results - its slow going. > > > > What tools are people using to author their .css and .rhtml files?TopStyle (assuming you''re using Windows) is a very nice CSS editor. I don''t have the Full version with HTML support so I can''t say much about how it handles .rhtml. rick http://techno-weenie.net
Reading the comments at the link you gave I found this : http://www.chrispederick.com/work/firefox/webdeveloper/ seems to be pretty nice too jean On Thu, 3 Mar 2005 09:57:24 -0300, Juraci Krohling Costa <partenon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > There''s a plugin for Firefox that enables to change the CSS and, real > time, see the changes (http://editcss.mozdev.org/) . Its useful to fix > something, but not to edit complete CSS files. > > regards, > juca > > On Thu, 3 Mar 2005 18:48:18 +1100, Neville Burnell > <Neville.Burnell-uEDVyssJ3mUpAS55Wn97og@public.gmane.org> wrote: > > > > I''m hand editing my .css and .rhtml files using SciTE and hitting refresh in > > my browser to see the results - its slow going. > > > > What tools are people using to author their .css and .rhtml files? > > > > Thanks, > > > > Neville > > > > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > -- > juraci krohling costa > http://jkcosta.info > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Rick Olson schrieb:> TopStyle (assuming you''re using Windows) is a very nice CSS editor. I > don''t have the Full version with HTML support so I can''t say much > about how it handles .rhtml.I use TopStyle for editing CSS. It is the best editor for CSS out there, but it costs. It has no support for rhtml, though. Sascha
There''s a lite version that I use. It doesn''t include the nice bells and whistles, but it works great for me. On Thu, 03 Mar 2005 14:16:36 +0100, Sascha Ebach <se-eFwX6J65rk9VioaHkBSlcw02NpfuEekPhC4ANOJQIlc@public.gmane.org> wrote:> Rick Olson schrieb: > > TopStyle (assuming you''re using Windows) is a very nice CSS editor. I > > don''t have the Full version with HTML support so I can''t say much > > about how it handles .rhtml. > > I use TopStyle for editing CSS. It is the best editor for CSS out there, > but it costs. It has no support for rhtml, though. > > Sascha > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- rick http://techno-weenie.net
On Thursday 03 March 2005 12:57, Juraci Krohling Costa wrote:> <Neville.Burnell-uEDVyssJ3mUpAS55Wn97og@public.gmane.org> wrote: > > I''m hand editing my .css and .rhtml files using SciTE and hitting refresh > > in my browser to see the results - its slow going. > > > > What tools are people using to author their .css and .rhtml files?Sorry if this has been already mentioned, but I just subscribed :) Mozilla Composer, or Quanta+ would be the obvious choices on Linux etc., I think. Composer has WYSIWYG and a dialogue-based CSS editor too. Quanta at least has some WYSIWYG support and CSS highlighting. I gather Amaya has a lot of features too. Never used any of them much personally, though. -- Lee.
Hi, Regarding Sessions, is it just me, or is there a lack of documentation? Questions I Have: Are they cookie based? If they are cookie based, is there a way to make them non-cookie based. If a user doesn''t support cookies, how do I test for this Do sessions time out? If so how can I tell if a session has timed out rather than never created? Where do you set the timeout value. If I have a multi-part registration window, should I store the various parts in session variables and then at the end save the object? OR is there some way to serialize the object and attach it to the url and pass it on the next screen. Thanks, Joe
If your on a mac TextWrangler (or BBEdit) has a ruby language pack for highlighting etc -- works with rhtml On Thu, 3 Mar 2005 13:30:14 +0000, Lee Braiden <jel-OMY0mCUCxqbPG/DoapTOmA@public.gmane.org> wrote:> On Thursday 03 March 2005 12:57, Juraci Krohling Costa wrote: > > <Neville.Burnell-uEDVyssJ3mUpAS55Wn97og@public.gmane.org> wrote: > > > I''m hand editing my .css and .rhtml files using SciTE and hitting refresh > > > in my browser to see the results - its slow going. > > > > > > What tools are people using to author their .css and .rhtml files? > > Sorry if this has been already mentioned, but I just subscribed :) > > Mozilla Composer, or Quanta+ would be the obvious choices on Linux etc., I > think. Composer has WYSIWYG and a dialogue-based CSS editor too. Quanta at > least has some WYSIWYG support and CSS highlighting. I gather Amaya has a > lot of features too. Never used any of them much personally, though. > > -- > Lee. > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
I''m also interested in finding out about this... I''d like to add... Can you only store single values in the session variable? Can you put collections of classObjects in it? On Thu, 3 Mar 2005 07:59:40 -0800, Joseph Lyons <JML-IW2WV5XWFqHk1uMJSBkQmQ@public.gmane.org> wrote:> Hi, > Regarding Sessions, is it just me, or is there a lack of documentation? > > Questions I Have: > > Are they cookie based? > > If they are cookie based, is there a way to make them non-cookie based. > > If a user doesn''t support cookies, how do I test for this > > Do sessions time out? If so how can I tell if a session has timed out rather > than never created? Where do you set the timeout value. > > If I have a multi-part registration window, should I store the various > parts in session variables and then at the end save the object? > OR is there some way to serialize the object and attach it to the url and > pass it on the next screen. > > Thanks, > > Joe > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
If you are on a mac and don''t use Textmate you are on crack. On Thu, 3 Mar 2005 11:39:33 -0800, Caleb Buxton <adbust-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If your on a mac TextWrangler (or BBEdit) has a ruby language pack for > highlighting etc -- works with rhtml-- Tobi http://www.snowdevil.ca - Snowboards that don''t suck http://www.hieraki.org - Open source book authoring http://blog.leetsoft.com - Technical weblog
Hello, IIRC the session is just usage of the session.rb class that comes in a default ruby install ... have a look at your libs, under ruby/1.8/cgi/ there is a session dir a session.rb In my login class I assign the User object to my session, so I can then use it to retrieve attributes about the user that''s logged it @session[''user''].id gives me the @user.id etc. Just my 2 cents, /B On Thu, 3 Mar 2005 11:42:01 -0800, Caleb Buxton <adbust-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m also interested in finding out about this... > > I''d like to add... Can you only store single values in the session > variable? Can you put collections of classObjects in it? >-- Bruno Mattarollo <bruno.mattarollo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Currently in: Sydney, Australia
You probably would not want to put collections of objects in it. If you store say 50k of data per user and have a 1000 users online, thats roughly a 50MB memory footprint. On Fri, 4 Mar 2005 07:16:17 +1100, Bruno Mattarollo <bruno.mattarollo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello, > > IIRC the session is just usage of the session.rb class that comes in a > default ruby install ... have a look at your libs, under ruby/1.8/cgi/ > there is a session dir a session.rb > > In my login class I assign the User object to my session, so I can > then use it to retrieve attributes about the user that''s logged it > > @session[''user''].id gives me the @user.id > etc. > > Just my 2 cents, > > /B > > > On Thu, 3 Mar 2005 11:42:01 -0800, Caleb Buxton <adbust-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I''m also interested in finding out about this... > > > > I''d like to add... Can you only store single values in the session > > variable? Can you put collections of classObjects in it? > > > > -- > Bruno Mattarollo <bruno.mattarollo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Currently in: Sydney, Australia > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- rick http://techno-weenie.net
On Thu, 3 Mar 2005 07:59:40 -0800, Joseph Lyons <JML-IW2WV5XWFqHk1uMJSBkQmQ@public.gmane.org> wrote:> Hi, > Regarding Sessions, is it just me, or is there a lack of documentation? > > Questions I Have: > > Are they cookie based?Yes.> If they are cookie based, is there a way to make them non-cookie based.Sure, I don''t know how to make this change. But bear this in mind: http://dev.rubyonrails.org/ticket/210 If you are using sessions without cookies, you can''t use multipart/form-data.> If a user doesn''t support cookies, how do I test for thisNo idea sorry. You could set a cookie on the first request, and if they don''t send it on the next one, cookies are off.> Do sessions time out? If so how can I tell if a session has timed out rather > than never created? Where do you set the timeout value.I''ve no idea here.> If I have a multi-part registration window, should I store the various > parts in session variables and then at the end save the object? > OR is there some way to serialize the object and attach it to the url and > pass it on the next screen.I''d *strongly* recommend you just ditch support for people who have cookies turned off (queue the tinfoil hat brigade ;)). It''s a *tiny* minority of web users, but significant amount of work. You could store the object in the session as you''re working on it, but then if their browser crashes / gets closed they lose all their work. You could store the partially completed registration in a database and set a ''finished'' flag when you''re complete. It''ll survive a browser problem, but will be a little slower. Plus you can let the users come back in later to complete their registration.>I''d like to add... Can you only store single values in the session > variable? Can you put collections of classObjects in it?You can put whatever you like in there, just be aware that it will impact your performance. Plus, databases are *very* good at concurrency, that''s really all they''re good at. So don''t stuff things in the session which could live anywhere else. In the Java world they say you should store the absolute minimum amount of information in the session. it applies here too.> Thanks, > > Joe> _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Cheers Koz
On Thu, 3 Mar 2005 14:43:58 -0500, Tobias Luetke <tobias.luetke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If you are on a mac and don''t use Textmate you are on crack.Nicely said Tobias! I second that.> On Thu, 3 Mar 2005 11:39:33 -0800, Caleb Buxton <adbust-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > If your on a mac TextWrangler (or BBEdit) has a ruby language pack for > > highlighting etc -- works with rhtml > > -- > Tobi > http://www.snowdevil.ca - Snowboards that don''t suck > http://www.hieraki.org - Open source book authoring > http://blog.leetsoft.com - Technical weblog > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Cheers Koz
On Thu, 3 Mar 2005 14:43:58 -0500, Tobias Luetke <tobias.luetke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If you are on a mac and don''t use Textmate you are on crack.Not to start the typical holy editor war, but I much prefer vim for my editing, even on my mac :) -- Dave Goodlad dgoodlad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or dave-eHfbeeWWzZOw5LPnMra/2Q@public.gmane.org http://david.goodlad.ca/
On Thu, Mar 03, 2005 at 02:43:58PM -0500, Tobias Luetke wrote:> If you are on a mac and don''t use Textmate you are on crack. > > On Thu, 3 Mar 2005 11:39:33 -0800, Caleb Buxton <adbust-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > If your on a mac TextWrangler (or BBEdit) has a ruby language pack for > > highlighting etc -- works with rhtmlI''d like to have some of the crack Jeremy Kemper is smoking in that case. marcel -- Marcel Molina Jr. <marcel-WRrfy3IlpWYdnm+yROfE0A@public.gmane.org>
I use gvim on OS X and Linux. On Thu, 2005-03-03 at 13:57 -0700, David Goodlad wrote:> On Thu, 3 Mar 2005 14:43:58 -0500, Tobias Luetke > <tobias.luetke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > If you are on a mac and don''t use Textmate you are on crack. > > Not to start the typical holy editor war, but I much prefer vim for my > editing, even on my mac :) >
On 3 Mar 2005, at 20:57, David Goodlad wrote:> Not to start the typical holy editor war, but I much prefer vim for my > editing, even on my mac :)As we are all supposed to be Rubyists, we should all in theory be at least willing to listen to the guys behind ''Pragmatic Programming'' (for reasons that should be obvious), and their take on editors is simple: learn one editor, and use it for everything. I agree life is too short to learn new editors just because it is in fashion but I break the rules all the time and have ended up learning about 8-9 different editors. Textmate wasn''t one of them - I balked at paying for something that just felt like fancy vim, but then I did fork out for CopyWrite for my ''proper'' writing, even though that''s just fancy TextEdit... I personally use xcode when that feels right, vim when that feels right, etc... When it comes back to the original question though - be wary of WYSIWYG tools. In my experience they fill the page with bloated HTML and can cause more problems than they solve. Start out with just regular xhtml and mark up your divs by hand, pushing out in the order you want. Then spend time building up your CSS piece by piece until it''s looking like the sketch you started with. You''ll end up with standards-compliant, trim, tidy, manageable output. Do not be enticed by the Dreamweaver kiddies filling the web with effluent. -- Paul Robinson