Star Script

Simplify Web Application Development

Landing Page Builder

Landing page template now becomes landing page builder, with multiple templates available and step by step guide helping you to create beautiful landing pages. Below is an example:

The generated application also contains a nice monitoring dashboard:

The source code of the landing page is written in Star Script. Below is the sample code

use ../templates/elegant

<elegant
  tracking_id="UA-576369-5" 
  title="Ez Landing - Landing Page Made Easy" 
  keywords="landing page, online marketing, template, landing page template"
  style="default"
  >
  
  <header 
    logo="landapplogo.png" 
    tagline="Easy Landing Page"
    href="http://www.myezapp.com/pub/system/script/script.ws"
  />
  
  <showcase><img style="width:600px; height: 325px;" src="landingads_s.png"/></showcase>
  
  <points>
    <point name="Quick & Easy" 
      icon="/pub/system/script/landtemp/res/icon1.png">
      Multiple templates, multiple styles. One click publishing. 
        No need for designer. No need for IT department.
    </point>
    
    <point name="White Label" icon="/pub/system/script/landtemp/res/icon2.png">
      Control every pixel on the page. Use your own domain. 
      No annoying 'sponsored by' link. 
    </point>
    
    <point name="Full Control" icon="/pub/system/script/landtemp/res/icon3.png">
      Come with complete source code, includes landing page, tracking and 
      dashboard. Customize & enhance as you wish.
    </point>
  </points>
   
  <action label="Learn More" href="http://www.myezapp.com/pub/help/land.ws"/>
  <action label="Start Now!" href="http://www.myezapp.com/pub/system/script/script.ws"/>

  <footer copyright="© 2012 MyEzApp Inc.">
    <link label="About" href="http://www.myezapp.com/pub/about.ws"/>
    <link label="Pricing" href="http://www.myezapp.com/pub/pricing.ws"/>
    <link label="Terms" href="http://www.myezapp.com/pub/terms.ws"/>
    <link label="Privacy" href="http://www.myezapp.com/pub/privacy.ws"/>
    <link label="Contact Us" href="http://www.myezapp.com/pub/contact_us.ws"/>
    <link label="Help" href="http://www.myezapp.com/pub/help/index.ws"/>
  </footer>
</elegant>

Does it look like a program? Not quite. It’s more like HTML. From template user’s perspective, it is declarative programming.
From landing page developer’s perspective, it is standard object oriented programming. Below is a snippet:

use /web/wpage
use /web/wcomponent
use /web/http
use /comp/slides

use ../landingpage

class simple implements landingpage.renderer
  func render(page as landingpage) as node.element
    page.useCss("simple_" + page.style + ".css")
    var header_logo = "http://www.myezapp.com/pub/system/script/landtemp/res/yourlogo.png"
    var header_line = "Your Catchy Slogan"
    var header_logo_href = "/"
    var header_contact as string
    
    if page.header <> null then
      header_logo = page.header.logo
      header_line = page.header.tagline
      header_logo_href = page.header.href
      header_contact = page.header.contact
    end
    return <body>
      <landingheader logo=header_logo tagline=header_line logo_href=header_logo_href contact=header_contact/>
      <landingbody showcase=page.showcase points=page.points action=page.action slide_height=page.slide_height slide_width=page.slide_width subscribe=page.subscribe/>
      <landingfooter footer=page.footer/>
    </body>
  end
end

Both declarative programming and object oriented programming are supported in Star Script. It is really nice.

Learn More or Try it now!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: