Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9201513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:01:33+00:00 2026-06-17T23:01:33+00:00

in my latests projects I have use Rails. Now I have to do something

  • 0

in my latests projects I have use Rails. Now I have to do something in PHP (which I actually hate, or love too much Ruby syntax).

So now I am very used to work with Sass and haml, which I also love. So I bought CodeKit for doing things outside rails framework.

Wanted just to know if there is any option for use haml in PHP files, or PHP in haml files, and that the file compiles with CodeKit, even having PHP.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:01:34+00:00Added an answer on June 17, 2026 at 11:01 pm

    You can use the :plain filter to preserve the php, it does not parse the filtered text. This is useful when you need to keep multiple lines of php.

    ex:

    :plain
      <?php foreach ($es as $e) {
        echo $e;
      } ?>
    

    I have not heard about any haml/php color syntax for Sublime Text 2 yet.

    There is another setting that can be useful for working with php : check the don’t escape HTML character in the HAML config on Codekit : http://d.pr/i/4pmv

    This will manage with that

    %form#booking_log{:name => "booking_log", :method => "post", :action => "<?=$this->action('bookingGetLog')?>"}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several old (pre-bundler / pre-rvm) Rails projects that use my system's gems.
We use subversion, which works great for software projects. We also have a lot
We use Team Foundation Server and have numerous ASP.NET Web Application Projects. Each of
My enviorenment: **Rails - 2.3.14 Ruby - ree/ruby 1.8.7** I am trying to use
We have common CSS styling in our organisation that most of the projects use.
I have some legacy Symfony 1.4 projects which I'd like to enhance with a
I have set our Eclipse projects up with Ivy and a URL resolver which
So in Code::Blocks in Ubuntu (latest). I have a project in which I load
I am trying to use Backbone for my latest Rails project, and the latest
I am new to ruby. I've just installed Ruby and Rails on my fresh

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.