Re: Frontend Javascript framework

2013-12-10 Thread Marcus James
Check out for Ember.js and for SEO see emberjsseo

-- 
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: Frontend Javascript framework

2013-12-10 Thread Simon Males
I might be doing something like this soon.

Most likely I will be doing this manually with a lot of code duplication.
Angular and CakePHP.


On Tue, Dec 10, 2013 at 11:17 AM, Wey  wrote:

> Hi there,
>
> This isn't a specific CakePHP question so I apologize in advance if this
> isn't the appropriate group to ask this question.
>
> I have been developing in Cake for quite some time now (over two years),
> and I am trying to build an application where the frontend will use REST
> calls to render the data to the user. I have been researching about
> frontend JS frameworks and I found that Angular.js stands up among the
> others, but its biggest drawback for me is not being SEO-friendly which is
> a killer for my app's requirements.
>
> So I ask you guys on recommendations in developing an isomorphic
> application in Javascript with Cake as the backend.
>
> 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.
>



-- 
Simon Males

-- 
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: Cakephp Manual Auth login returns true, but not logged in another page

2013-12-10 Thread Andrew Ponomarev
I found out that $this->Session->Auth array exists and contains correct 
user data, but debug(AuthComponent::user('id')) returns NULL. Why? 

пятница, 21 июня 2013 г., 2:37:44 UTC+4 пользователь Rahul Reddy написал:
>
> In my cakephp(v 2.3.4) app, I am using the code below to manually login 
> users after they register, as provided in the 
> manual
> .
>
> if ($this->User->save($this->request->data)) {
> $id = $this->User->id;
> $this->request->data['User'] = 
> array_merge($this->request->data['User'], array('id' => $id));
> if($this->Auth->login($this->request->data['User'])) {
>   $this->redirect('/homepage');
> }
> }
>
> I am getting the $this->Auth->login($this->request->data['User']) response 
> as true and it is getting redirected to the home page. But the user is not 
> logged in homepage (or in any other page). Please help me in fixing this. 
> Thanks in advance.
>

-- 
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.


Cakephp Website Project

2013-12-10 Thread Dean Haines
hi guys, im just about to embark on a new project whereby my custoer 
requires a backen which will allow administrators to add and manage a large 
product catalog which will feed a website shop front end.

I am new to cakephp and after some research would like to build the project 
using cakephp. am I right in thinking that only the backend can be written 
using cakephp? im assuming it is and the front end would be written by 
hand. I would ver much be interested to her what others have done.

Thanks in advance.

-- 
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.


Frontend Javascript framework

2013-12-10 Thread Wey
Hi there,

This isn't a specific CakePHP question so I apologize in advance if this 
isn't the appropriate group to ask this question.

I have been developing in Cake for quite some time now (over two years), 
and I am trying to build an application where the frontend will use REST 
calls to render the data to the user. I have been researching about 
frontend JS frameworks and I found that Angular.js stands up among the 
others, but its biggest drawback for me is not being SEO-friendly which is 
a killer for my app's requirements.

So I ask you guys on recommendations in developing an isomorphic 
application in Javascript with Cake as the backend.

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.


CakePHP v2.4.3 / PHP 5.5.3 Crashing on IIS 8.5 Windows 2008 R2

2013-12-10 Thread Matt Grofsky
Having an issue where I'm using PHP 5.5.3 Crashing on IIS 8.5 Windows 2008 
R2 using the php_pdo_sqlsrv_55_nts.dll and cakePHP v2.4.3

This problem does not occur outside of CakePHP

Driving me crazy and can't figure out whats going on.  There is no specific 
error generated fro this.  Someone mentioned to place int he SP SET NOCOUNT 
ON  but it already has that setting.

{
"code": 500,
"url": "\/test\/process",
"name": "SQLSTATE[IMSSP]: The active result for the query contains no 
fields.",
"error": {
"errorInfo": [
"IMSSP",
-15,
"The active result for the query contains no fields."
]
}
}

Below is an example of what causes the 500

DECLARE @RC int 
DECLARE @CustomerID varchar(15) 
DECLARE @FirstName varchar(50) 
DECLARE @LastName varchar(50) 
DECLARE @PlaceOfWork varchar(100) 
DECLARE @Active bit 
DECLARE @NoActivityStatement bit 
DECLARE @CustomerClassID varchar(15) 
DECLARE @CustomerType tinyint 
DECLARE @PenaltyType varchar(15) 
DECLARE @CollectionExempt bit 
DECLARE @ZoneID varchar(15) 
DECLARE @Source tinyint 

EXECUTE @RC = [dbo].[test_spCreate] 
   @CustomerID = '{$nextCustomerID}'
  ,@FirstName = '{$this->request->data['first_name']}'
  ,@LastName = '{$this->request->data['last_name']}'
  ,@PlaceOfWork = '{$this->request->data['company']}'
  ,@Active = '1'
  ,@NoActivityStatement = '0'
  ,@CustomerClassID = 'COMMERCIAL'
  ,@CustomerType = '2'
  ,@PenaltyType = ''
  ,@CollectionExempt = '0'
  ,@ZoneID = ''
  ,@Source = ''

-- 
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: Certain models via $uses cause non-object errors in Controller

2013-12-10 Thread kdubya
Post the complete code of one of the Models (the smallest) that causes the 
problem.

-- 
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.