Google Groups Home
Help | Sign in
Is there any tutorial available
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
  4 messages - Collapse all
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
Harry  
View profile
 More options 28 Jun, 07:59
From: Harry <blogdri...@gmail.com>
Date: Fri, 27 Jun 2008 23:59:04 -0700 (PDT)
Local: Sat 28 Jun 2008 07:59
Subject: Is there any tutorial available
Hi guys !

glad you are working on this.

from my point of view.most dynamic sites are just fake.wasting
resources. so recently I focus on buidling static site , using client
side javascript and ajax call to some web service, to make it like
dynamic. but the most main part ,the content to the reader ,should all
be static.and (or) enven the ajax call to the server is just to get
some XML file which is also static. I think in this way we can make
totally static site but still has some dynamic site character.
erverything that should be "real time "daynamic  is computed in
advance,that is done at my local machine using tool like staticmatic.

I mean ,do you have some tutorial on how to use staticmatic to do some
kind of application like this? can staticmatic be used as a class to
be included in my own application?
thanks and appreciate for your work!


    Reply to author    Forward  
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 Mulligan  
View profile
 More options 28 Jun, 18:08
From: "Ryan Mulligan" <r...@ryantm.com>
Date: Sat, 28 Jun 2008 12:08:37 -0500
Local: Sat 28 Jun 2008 18:08
Subject: Re: Is there any tutorial available

On Sat, Jun 28, 2008 at 1:59 AM, Harry <blogdri...@gmail.com> wrote:

> Hi guys !

> glad you are working on this.

> from my point of view.most dynamic sites are just fake.wasting
> resources.

I've often thought this myself. It seems that you could make a website
framework where every page is static, except when a user posts a form or
does something effectful it recomputes all the static pages that are
affected by this.

> so recently I focus on buidling static site , using client
> side javascript and ajax call to some web service, to make it like
> dynamic. but the most main part ,the content to the reader ,should all
> be static.and (or) enven the ajax call to the server is just to get
> some XML file which is also static. I think in this way we can make
> totally static site but still has some dynamic site character.
> erverything that should be "real time "daynamic  is computed in
> advance,that is done at my local machine using tool like staticmatic.

> I mean ,do you have some tutorial on how to use staticmatic to do some
> kind of application like this? can staticmatic be used as a class to
> be included in my own application?
> thanks and appreciate for your work!

 From what you say it isn't that hard, just use a Javascript library to do
some XHTML request for a static file. It's no different than doing it for a
dynamic file. Staticmatic is compatible with any Javascript library. You
could use Prototype or JQuery or Dojo. or you could just write the
Javascript yourself.

    Reply to author    Forward  
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.
Harry  
View profile
 More options 29 Jun, 12:16
From: Harry <blogdri...@gmail.com>
Date: Sun, 29 Jun 2008 04:16:42 -0700 (PDT)
Local: Sun 29 Jun 2008 12:16
Subject: Re: Is there any tutorial available
Thanks Ryan!

Yes ,I'm using Jquery to do this.Everything seems simple.

But the key is how to use staticmatic, Currently I can only generate
content file from my application,then go to command line to use
staticmatic to compile it .it's not much burden to do this, if we have
only a few site to manage.but I just wondering if I have a 100
websites to manage,this will become a problem.

so ideally I hope it'll be great that if I can use staticmatic as an
standard lib in my applicaion,like this:

#in my own rb application code.
require'staticmatic"

#some code to generate txt(haml) file to staticmatic content folder;

Staticmatic.compile(oneofmysite)

that' it , based on this we can make new site very easy and make it
possible to manage large number of website .

I work by my own to do website, many time I find the defferent between
large companies and personal website administers: we departed on
opposite direction :they using high resource intensive webserver,so we
have to to retreat to static page, they focus on one or few
website ,so we MUST do more small sites .in this way we can still keep
competent with big companies. I guess in the future it's even harder
to survive between this .

consider the search engine has created an very strange and unfair
ecosystem, this might mean a big market in the future,so if you guys
can ,can you add some muti-site manage function to staticmatic, that
also will be cool!

On 6月29日, 上午3时08分, "Ryan Mulligan" <r...@ryantm.com> wrote:


    Reply to author    Forward  
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 Mulligan  
View profile
 More options 1 Jul, 02:52
From: "Ryan Mulligan" <r...@ryantm.com>
Date: Mon, 30 Jun 2008 20:52:03 -0500
Local: Tues 1 Jul 2008 02:52
Subject: Re: Is there any tutorial available

On Sun, Jun 29, 2008 at 6:16 AM, Harry <blogdri...@gmail.com> wrote:

> so ideally I hope it'll be great that if I can use staticmatic as an
> standard lib in my applicaion,like this:

> #in my own rb application code.
> require'staticmatic"

> #some code to generate txt(haml) file to staticmatic content folder;

> Staticmatic.compile(oneofmysite)

Well if you are using the latest trunk version of Staticmatic you can look
at the rake task inside it:
require File.dirname(__FILE__) + "/../staticmatic"

task :build do
  require File.dirname(__FILE__) + "/../staticmatic/builder"
  StaticMatic::Builder.build StaticMatic::Base.new(".")
end

If you have 0.9.0 you can do the following in ruby (notice the backticks I'm
executing a shell command):

`staticmatic build #{path_to_one_of_my_sites}`

These commands will rebuild everything on the site that has been modified in
src.

> consider the search engine has created an very strange and unfair
> ecosystem, this might mean a big market in the future,so if you guys
> can ,can you add some muti-site manage function to staticmatic, that
> also will be cool!

What kind of multiple site management are you looking for?

    Reply to author    Forward  
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 »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google