CakePhp : unable to include custom CookieHelper to another custom RecordingHelper ?

2014-01-20 Thread Prince Dev
Hello, I want to create list view and expanded view ('cookie' 
='Posts.posts'  'value' = 'list' or 'expanded') with (attr) class = 
active but getting error when I use CookieHelper function read();

please help?


below are the snapshot 




https://lh3.googleusercontent.com/-OCwN7X05vTo/UtxfR29PFbI/ADE/XdCDxOZ0pHs/s1600/ss_one.png
Unable to Load index file when calling RecordingHelper as ?php echo 
$this-Recording-toggleLink('list','Posts.post','list'); ?


https://lh5.googleusercontent.com/-mysIEYEfiZU/UtxfkejzULI/ADM/ilhTTUl16Lc/s1600/ss_two.png
and when I remove read(); it's shows me list view and expanded view but not 
creating any cookie rather redirecting me to path specified.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Getting time out Exception in Cakephp 3 while fetching through composer

2014-01-20 Thread Bayezid Alam
Hi friends,

i am trying to get CakePHP 3 through composer and getting Timeout 
exception. Please see the below attachment.

https://lh6.googleusercontent.com/-u1Ewzm4vbFU/UtwKz1AGHeI/Aeg/OcfinY309Is/s1600/Error+in+C3.png

Please help me..

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Is it possible for a View to access another unrelated Model's data?

2014-01-20 Thread Борислав Събев
As @Reuben explained: binding Models to views directly is bad and should 
not be done at all. Even $this-requestAction() is bad in my mind, however 
there are some cases for it.

Anyway, what you're asking for is possible.However I have the feeling that 
you're not too sure what MVC is, how it should work and especially how this 
ties into CakePHP's structure. Read this:
http://book.cakephp.org/2.0/en/getting-started/a-typical-cakephp-request.html 

and this:
http://book.cakephp.org/2.0/en/getting-started/cakephp-structure.html

Then the answer to your question is:

A controller can use as many models as you like provided that those are 
defined in the Controller's $uses property.
At the head of your controller you should have an:

public $uses = array('ControllerModel','OtherModel');

Now the controller will know which Models to initiate and provide them to 
you in it. This is so because the Controller doesn't need to load all 
models in your app - just those that it needs.
Now in your Controller action:

$myOtherModelData = $this-OtherModel-find('all');
$this-set('myOtherModelData', $myOtherModelData);

Now in the View your data will be in: $myOtherModelData.

So you actually do not bind the Model to the View - you call the model in 
the Controller.

On Monday, 20 January 2014 04:32:05 UTC+2, Sam wrote:

 From what I understand from cakephp, a view is associated to a model and 
 can only access the model's data. Is it possible for a View to access 
 another unrelated Model's data? What I mean is whether it is possible for a 
 view to access any database table's data, even if it is unrelated?


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Getting time out Exception in Cakephp 3 while fetching through composer

2014-01-20 Thread Leandro Machado Pereira
See this:
http://www.papayasoft.com/2013/08/22/composer-process-timeout-when-fetching-large-repositories/

Regards


2014/1/19 Bayezid Alam bayezid...@gmail.com

 Hi friends,

 i am trying to get CakePHP 3 through composer and getting Timeout
 exception. Please see the below attachment.


 https://lh6.googleusercontent.com/-u1Ewzm4vbFU/UtwKz1AGHeI/Aeg/OcfinY309Is/s1600/Error+in+C3.png

 Please help me..

 --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
***Se você pretende redirecionar este e-mail, por favor, apague todos os
endereços que aparecem nele. Outra dica de segurança é endereçá-lo no Cco.
Desta forma você estará protegendo a mim, seus amigos e a você mesmo. Eu e
a Campanha Contra o SPAM agradecemos.Não envie correntes.***

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Does the choice of framework matter to ease of ajax dynamic front-end coding?

2014-01-20 Thread Sam
I have an upcoming project which may use lots of ajax dynamic front-end 
features. Does the choice of framework matter to ease of ajax dynamic 
front-end coding? I have never used ajax before, so I am kind of nervous at 
whether cakephp would be the right choice or if there is a simpler 
framework.

My understanding is that for ajax, it makes web services calls to the 
controller through sending the right URL and the controller returns the 
reply in json. Therefore, it should not really matter which framework is 
used because to the ajax, it just makes the right web service calls. Is my 
understanding correct? Thank you.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Does the choice of framework matter to ease of ajax dynamic front-end coding?

2014-01-20 Thread Jeremy Burns : Class Outfit
CakePHP is absolutely fine for Ajax. Your approach sounds right - it’s what I 
do.

On 20 Jan 2014, at 14:58, Sam lightai...@gmail.com wrote:

 I have an upcoming project which may use lots of ajax dynamic front-end 
 features. Does the choice of framework matter to ease of ajax dynamic 
 front-end coding? I have never used ajax before, so I am kind of nervous at 
 whether cakephp would be the right choice or if there is a simpler framework.
 
 My understanding is that for ajax, it makes web services calls to the 
 controller through sending the right URL and the controller returns the reply 
 in json. Therefore, it should not really matter which framework is used 
 because to the ajax, it just makes the right web service calls. Is my 
 understanding correct? Thank you.
 
 -- 
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP
  
 --- 
 You received this message because you are subscribed to the Google Groups 
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Does the choice of framework matter to ease of ajax dynamic front-end coding?

2014-01-20 Thread José Lorenzo
I think it does matter to certain degree, if the framework helps you select 
the templates and layouts to use when requesting some content via ajax or 
as another type (like json or xml), you end up saving a lot of time. You're 
on the good place, then. CakePHP makes it extremely simple to work with 
ajax applications and with building APIs.

What are your requirements? Do you need any extra tips on how to use ajax 
in cakephp?

On Monday, January 20, 2014 3:58:41 PM UTC+1, Sam wrote:

 I have an upcoming project which may use lots of ajax dynamic front-end 
 features. Does the choice of framework matter to ease of ajax dynamic 
 front-end coding? I have never used ajax before, so I am kind of nervous at 
 whether cakephp would be the right choice or if there is a simpler 
 framework.

 My understanding is that for ajax, it makes web services calls to the 
 controller through sending the right URL and the controller returns the 
 reply in json. Therefore, it should not really matter which framework is 
 used because to the ajax, it just makes the right web service calls. Is my 
 understanding correct? Thank you.


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Does the choice of framework matter to ease of ajax dynamic front-end coding?

2014-01-20 Thread Sam
Thank you for the reply. I will need to do in-place editing of data tables. 
Some data tables displayed needs to be dynamic like stock prices updating 
in real-time but they need not be editable. I am hoping to find similar 
jquery (or even better, cakephp) projects which accomplish these tasks. 
Would you happen to know of any?

May I ask why CakePHP is simpler to work with ajax compared to other 
frameworks?

On Monday, January 20, 2014 11:15:20 PM UTC+8, José Lorenzo wrote:

 I think it does matter to certain degree, if the framework helps you 
 select the templates and layouts to use when requesting some content via 
 ajax or as another type (like json or xml), you end up saving a lot of 
 time. You're on the good place, then. CakePHP makes it extremely simple to 
 work with ajax applications and with building APIs.

 What are your requirements? Do you need any extra tips on how to use ajax 
 in cakephp?

 On Monday, January 20, 2014 3:58:41 PM UTC+1, Sam wrote:

 I have an upcoming project which may use lots of ajax dynamic front-end 
 features. Does the choice of framework matter to ease of ajax dynamic 
 front-end coding? I have never used ajax before, so I am kind of nervous at 
 whether cakephp would be the right choice or if there is a simpler 
 framework.

 My understanding is that for ajax, it makes web services calls to the 
 controller through sending the right URL and the controller returns the 
 reply in json. Therefore, it should not really matter which framework is 
 used because to the ajax, it just makes the right web service calls. Is my 
 understanding correct? Thank you.



-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Will combining cakephp with web templates like Smarty or Twig make front-end coding easier?

2014-01-20 Thread Sam
Cakephp is good for back-end work. Web templates like Smarty or Twig is 
used for front-end work. Will combining cakephp with web templates like 
Smarty or Twig make front-end coding easier? Is this advisable and has it 
been done before?

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Does the choice of framework matter to ease of ajax dynamic front-end coding?

2014-01-20 Thread José Lorenzo
I don't know much of other frameworks, but I can list why doing it in 
CakePHP is a snap

* Automatic rendering of json views depending on the accept headers 
including error pages
* Automatic layout selections for ajax calls that return html
* The CRUD plugin, a super simple yet extremely powerful plugin to help you 
build applications with nearly no code http://friendsofcake.com/crud/docs/
* Debugging tools like DebugKit, really help you looking at what's behind 
the scenes even on ajax requests
* It helps you organize the code, other frameworks let you built the API 
basically anywhere. We encourage you to put the code where it belongs and 
keep stuff clean
* Already made plugins for integrating with stuff like angular, ember or 
backbone js.
* It has a yummy name :)

On Monday, January 20, 2014 4:26:21 PM UTC+1, Sam wrote:

 Thank you for the reply. I will need to do in-place editing of data 
 tables. Some data tables displayed needs to be dynamic like stock prices 
 updating in real-time but they need not be editable. I am hoping to find 
 similar jquery (or even better, cakephp) projects which accomplish these 
 tasks. Would you happen to know of any?

 May I ask why CakePHP is simpler to work with ajax compared to other 
 frameworks?

 On Monday, January 20, 2014 11:15:20 PM UTC+8, José Lorenzo wrote:

 I think it does matter to certain degree, if the framework helps you 
 select the templates and layouts to use when requesting some content via 
 ajax or as another type (like json or xml), you end up saving a lot of 
 time. You're on the good place, then. CakePHP makes it extremely simple to 
 work with ajax applications and with building APIs.

 What are your requirements? Do you need any extra tips on how to use ajax 
 in cakephp?

 On Monday, January 20, 2014 3:58:41 PM UTC+1, Sam wrote:

 I have an upcoming project which may use lots of ajax dynamic front-end 
 features. Does the choice of framework matter to ease of ajax dynamic 
 front-end coding? I have never used ajax before, so I am kind of nervous at 
 whether cakephp would be the right choice or if there is a simpler 
 framework.

 My understanding is that for ajax, it makes web services calls to the 
 controller through sending the right URL and the controller returns the 
 reply in json. Therefore, it should not really matter which framework is 
 used because to the ajax, it just makes the right web service calls. Is my 
 understanding correct? Thank you.



-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Will combining cakephp with web templates like Smarty or Twig make front-end coding easier?

2014-01-20 Thread José Lorenzo
It helps to some extent, specially keeping the views safe from XSS attacks. 
Some would argue that it does not make your views more readable, I think it 
is a matter of preference. Here you have a CakePHP plugin for working with 
Twig:

https://github.com/WyriHaximus/TwigView

On Monday, January 20, 2014 4:32:03 PM UTC+1, Sam wrote:

 Cakephp is good for back-end work. Web templates like Smarty or Twig is 
 used for front-end work. Will combining cakephp with web templates like 
 Smarty or Twig make front-end coding easier? Is this advisable and has it 
 been done before?


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Will combining cakephp with web templates like Smarty or Twig make front-end coding easier?

2014-01-20 Thread Carlos Javier Baeza Negroni
Hello Sam,

As far i know, CakePHP has a Smarty helper, so in theory you will had no
problem with it.

*Sorry for my bad english

REF:
http://bakery.cakephp.org/articles/HyperCas/2008/06/11/the-cakephp-blog-tutorial-with-smarty


2014/1/20 Sam lightai...@gmail.com

 Cakephp is good for back-end work. Web templates like Smarty or Twig is
 used for front-end work. Will combining cakephp with web templates like
 Smarty or Twig make front-end coding easier? Is this advisable and has it
 been done before?

 --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
*Carlos Baeza Negroni*
+56985644026
http://carlosbaeza.net
@cjbaezilla
http://cl.linkedin.com/in/cjbaeza
http://cl.linkedin.com/in/cjbaeza

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Router redirect pass all parameters to another domian

2014-01-20 Thread gonzela2006
Hello,

I want to use *Router::redirect* to redirect to another domain and pass all 
parameters to this domain

Example:
Redirect this url
http://domain-*one*.com/posts/view/1
to
http://domain-*two*.com/posts/view/1

I tried the following
Router::redirect( '/*', 'http://domain-*two*.com/', array('persist' = 
true) );
but it redirect to  http://domain-*two*.com/ without parameters.
Please advise

Thanks

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Will combining cakephp with web templates like Smarty or Twig make front-end coding easier?

2014-01-20 Thread Sam
I am doing some reading. Here is one thing that puzzles me. One advantage 
of web template engines is that they separate presentation and logic. The 
same can be said about MVC frameworks like Cakephp. Then, why do we combine 
both together since any single one can do the separation? Did I miss out 
something? What are the pros and cons? 

On Monday, January 20, 2014 11:45:33 PM UTC+8, José Lorenzo wrote:

 It helps to some extent, specially keeping the views safe from XSS 
 attacks. Some would argue that it does not make your views more readable, I 
 think it is a matter of preference. Here you have a CakePHP plugin for 
 working with Twig:

 https://github.com/WyriHaximus/TwigView

 On Monday, January 20, 2014 4:32:03 PM UTC+1, Sam wrote:

 Cakephp is good for back-end work. Web templates like Smarty or Twig is 
 used for front-end work. Will combining cakephp with web templates like 
 Smarty or Twig make front-end coding easier? Is this advisable and has it 
 been done before?



-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Will combining cakephp with web templates like Smarty or Twig make front-end coding easier?

2014-01-20 Thread Reuben
It depends on who's programming your View layer.

If the developer, who is also programming the Controller and Model layers, 
is doing the View, then go with your preference.  I already know PHP, so 
using the FormHelper doesn't scare me, and sometimes learning another 
syntax for the sake of it gets annoying.

However, your Viewer layer coder may be a designer who is used to working 
with Smarty or Twig, and may not be familiar with the PHP.  The designer 
may have used a platform agnostic template engine from other languages like 
Ruby or ASP.NET MVC, so for them, using Smarty or Twig or any other 
template engine may be best.

And then you've got the case of the client side UI that just uses REST/JSON 
from the MVC, and uses Javascript UI and MVVM for client side generated UIs 
only.  That's a solid case for a view template engine that doesn't care 
about the server technology at all.

On Tuesday, 21 January 2014 09:30:00 UTC+10, Sam wrote:

 I am doing some reading. Here is one thing that puzzles me. One advantage 
 of web template engines is that they separate presentation and logic. The 
 same can be said about MVC frameworks like Cakephp. Then, why do we combine 
 both together since any single one can do the separation? Did I miss out 
 something? What are the pros and cons? 

 On Monday, January 20, 2014 11:45:33 PM UTC+8, José Lorenzo wrote:

 It helps to some extent, specially keeping the views safe from XSS 
 attacks. Some would argue that it does not make your views more readable, I 
 think it is a matter of preference. Here you have a CakePHP plugin for 
 working with Twig:

 https://github.com/WyriHaximus/TwigView

 On Monday, January 20, 2014 4:32:03 PM UTC+1, Sam wrote:

 Cakephp is good for back-end work. Web templates like Smarty or Twig is 
 used for front-end work. Will combining cakephp with web templates like 
 Smarty or Twig make front-end coding easier? Is this advisable and has it 
 been done before?



-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Router redirect pass all parameters to another domian

2014-01-20 Thread Reuben
From the documentation, I'm not convinced that is can be used to append the 
content of the original URL to the new destination.

http://book.cakephp.org/2.0/en/development/routing.html#redirect-routing

However, you may be better off implementing a site wide redirect like that, 
in your web server, rather than a CakePHP application.  It will perform 
much better.

On Tuesday, 21 January 2014 07:49:09 UTC+10, gonzela2006 wrote:

 Hello,

 I want to use *Router::redirect* to redirect to another domain and pass 
 all parameters to this domain

 Example:
 Redirect this url
 http://domain-*one*.com/posts/view/1
 to
 http://domain-*two*.com/posts/view/1

 I tried the following
 Router::redirect( '/*', 'http://domain-*two*.com/', array('persist' = 
 true) );
 but it redirect to  http://domain-*two*.com/ without parameters.
 Please advise

 Thanks



-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Will combining cakephp with web templates like Smarty or Twig make front-end coding easier?

2014-01-20 Thread Marush Denchev
Why you want to over complicate your views with Twig or Smarty? In your 
views you have native PHP code - you just have to put the right HTML code 
there.

On Monday, January 20, 2014 5:32:03 PM UTC+2, Sam wrote:

 Cakephp is good for back-end work. Web templates like Smarty or Twig is 
 used for front-end work. Will combining cakephp with web templates like 
 Smarty or Twig make front-end coding easier? Is this advisable and has it 
 been done before?


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.