Questions tagged [recess]

Recess is an open source RESTful PHP framework designed to give you a fun & delightful development experience.

Recess is a RESTful PHP framework designed to give you a delightful development experience. It provides tools and features to quickly build RESTful applications.

Features include:

  • Create RESTful APIs with Ease
  • Declarative PHP with annotations
  • D.R.Y. in philosophy & practice
  • Loosely coupled Model-View-Controller

Checkout the tutorials and videos at : http://www.recessframework.org/section/tutorials

Home Page: http://www.recessframework.org/

Downloads: http://www.recessframework.org/page/download

Bleeding Edge release: https://github.com/recess/recess/

43 questions
1
vote
1 answer

RECESS change properties' order

I use node.js, grunt and RECESS to compile my *.less files into *.css files. It's my Gruntfile.js file module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), recess: { dist: { …
hronikata
  • 107
  • 10
1
vote
4 answers

Getting rid of index.php in the URL when using recess framework and lighttpd

I am using the recess php framework with lighttpd Does anyone know how I can use the shorter urls of: http://www.myserver.com/recess Instead of: http://www.myserver.com/index.php/recess The recess readme file says that if I have mod_rewrite I can…
DEzra
  • 2,978
  • 5
  • 31
  • 50
1
vote
1 answer

Parse Error with Opacity

I got this http://pastebin.com/thfyTJ0K .opacity0 { display:block !important; -moz-transition:all 500ms ease 0s; -o-transition:all 500ms ease 0s; -webkit-transition:all 500ms ease 0s; transition:all 500ms ease 0s; -moz-opacity: 0; -khtml-opacity:…
user1914644
  • 107
  • 1
  • 1
  • 8
1
vote
1 answer

Error installing Recess PHP framework

I downloaded the Recess PHP Framework source and untar in /var/www/html. I did the modification as per readme in recess-conf.php. { RecessConf::$defaultDatabase = array( //'sqlite:' . $_ENV['dir.bootstrap'] . 'data/sqlite/default.db' …
1
vote
1 answer

How to add authentication to RECESS?

I have a RECESS based project. I want to add password protection to the views where I add/edit/delete my new model objects, they should only be accessed after passing through a password entry view and if someone tries to access directly the said…
Ahmed
  • 772
  • 1
  • 9
  • 26
1
vote
1 answer

Recess framework stops me editing any files

I have installed Recess and created an app. However I cannot do anything with the files the app created, I can not edit, delete, move the files. When I try and delete i get a FTP error of 550. Any other files on the server I can modify any way I…
maxum
  • 2,825
  • 4
  • 33
  • 49
1
vote
3 answers

Recess framework: Why am I getting a resource not found error when the file exists?

I'm thinking of using the Recess Framework which I downloaded as-is and followed the instructions studiously. I'm using it with PHP (which is not the issue) and I seem to have it up and running... however I suspected something was slightly wrong…
T9b
  • 3,312
  • 5
  • 31
  • 50
1
vote
2 answers

JSON view in Recess Framework

I am trying to create an api with Recess and I have a question about its JsonView. Currently, if I do a GET request on, for example, /users/1 (which routes to a function that gets all the details for the user with id 1 and responds with Json), I get…
shoopdelang
  • 985
  • 2
  • 9
  • 20
0
votes
1 answer

How to specify Content-type when using Recess framework with Smarty

I am currently using the PHP Recess framework with the Smarty templating engine. In my controller, I have code similar to: /** * !View Smarty * !RespondsWith Smarty * !Prefix Views: templates/, Routes: / */ class XHomeController extends Controller…
Avinash Meetoo
  • 110
  • 1
  • 8
0
votes
1 answer

Wrapping all methods of a controller in Recess

In recess, I have a controller /** * !RespondsWith Layouts * !Prefix user/ */ class UserController extends Controller { ...... } I want to wrap all methods of the UserController using Iwrapper. I know how to wrap method of a normal class…
Noor
  • 19,638
  • 38
  • 136
  • 254
0
votes
2 answers

php date error, original field of sql date type

in a table user, i have a field birthday which records the birthday of the user. Now, in php, i'm not using sql but recess (a php framework) ORM to insert this record. The original field in the database is of date type. When I'm using datatime in…
Noor
  • 19,638
  • 38
  • 136
  • 254
0
votes
1 answer

Recess Framework GET send sentence

The following is a Recess Framework code in which I am facing problem. /** !Route GET, /abc/$text */ function xyz($text) { If $text is a sentence. How do we get a sentence through HTTP GET. I am able to send only single word right now unlike…
Antariksha
  • 111
  • 4
0
votes
1 answer

Recess Framework get parameter

I'm using the recess framework. Suppose I have a URL like this www.example.com/try.php?this=5 In recess, what do i do to access the value of parameter this ??
Noor
  • 19,638
  • 38
  • 136
  • 254
0
votes
1 answer

Getting resources by different columns in Recess

I'm fairly new to RESTful web services and even more new to the Recess PHP framework. It's easy to retrieve resources by ID. For example, if I want to retrieve a User with ID 7, I would make a request to: http://localhost/myApp/user/7 What I'm…
Tyler Treat
  • 14,640
  • 15
  • 80
  • 115
0
votes
1 answer

Recess Relationship Annotation issue

I'm running into a severe problem, In fact I'm not well understanding recess naming convention for relationship. I personally think it should be more documented with concrete examples. Hopefully, if i get to understand it, I can start to write some…
Noor
  • 19,638
  • 38
  • 136
  • 254