URLencoding works for all characters except / and \
Dear cakephp experts, While passing parameters through URL, there are cases when the parameters contain funny characters like %$#. This problem is solved when I encode the URL. However, for some reason, characters such as backslash / and forward-slash \ simply do not work on cakephp. All other characters work after encoding the URL. I have already spent significant amount of time on this problem. Can someone advise? Thank you very much. -- 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Re: How to pass parameter with '/' into URL?
My php app is providing web services and the client need not use php. How would a URL look like if a param contains '/' ? On Tuesday, September 18, 2012 9:34:09 PM UTC+8, euromark wrote: > > cakephp is still php. > try to use urlescape() or rawurlescape() > > if you plan on passing a lot of those special characters you can also try > to use base64encode and decode as the Search plugin does > > > Am Dienstag, 18. September 2012 14:09:51 UTC+2 schrieb Lightee: >> >> Dear CakePHP experts, >> >> When passing parameters through URL, it will look like something below; >> mysite.com/myController/myAction/param1/param2 >> >> My problem is that my parameters also happen to contain characters like >> '/'. Is there some sort of escape character to overcome this problem? >> >> Thank you very much for your help. >> > -- Like Us on FacekBook 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Re: Is it possible to get find() to bypass associated model?
THanks! This works! On Monday, September 17, 2012 5:36:31 PM UTC+8, Andras Kende wrote: > > easiest way if only need records from current model: > > $records = $this->Record->find('all', array( > 'recursive' => -1, > )); > > > Andras Kende > http://www.kende.com > > > On Sep 17, 2012, at 2:10 AM, Lightee > > wrote: > > Dear Cakephp experts, > > When I use find('all), all the records in the model and associated model > will be returned. May I ask if it is possible to bypass the associated > models and show only the records of the model? Do I have to write SQL to do > that? > > Thank you. > > -- > Like Us on FacekBook 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 post to this group, send email to cake...@googlegroups.com > . > To unsubscribe from this group, send email to > cake-php+u...@googlegroups.com . > Visit this group at http://groups.google.com/group/cake-php?hl=en. > > > > > -- Like Us on FacekBook 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
How to pass parameter with '/' into URL?
Dear CakePHP experts, When passing parameters through URL, it will look like something below; mysite.com/myController/myAction/param1/param2 My problem is that my parameters also happen to contain characters like '/'. Is there some sort of escape character to overcome this problem? Thank you very much for your help. -- Like Us on FacekBook 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Is it possible to get find() to bypass associated model?
Dear Cakephp experts, When I use find('all), all the records in the model and associated model will be returned. May I ask if it is possible to bypass the associated models and show only the records of the model? Do I have to write SQL to do that? Thank you. -- Like Us on FacekBook 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Possible to make different controllers share same action?
Dear Cakephp experts, My database has a number of tables. The controller corresponding to each table share similar actions. Basically, the only difference is that the controller name is different. Is there some way to make them share the same action even though the controller name is different? Otherwise, I will have to code same action for different controllers which is highly inefficient. Thank you. -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: How can controller action function distinguish whether URL ends with .xml or not?
Thank you very much. It works! On Friday, September 14, 2012 3:40:56 PM UTC+8, johnny wrote: > > From what i remember this should do the trick, in your controller action > > if ( $this->RequestHandler->isXML()) { > > // do some xml specific code > > } > > Check out the documentation on Request Handling for more details. > > http://book.cakephp.org/2.0/en/core-libraries/components/request-handling.html > > > On Friday, September 14, 2012 6:31:38 AM UTC+3, Lightee wrote: >> >> Dear Cakephp gurus, >> >> I am creating some web services using cakephp with XML. When user visit a >> URL, cakephp is smart enough to detect the URL extension and direct to the >> correct view folder. For example, if URL ends with .xml, view is directed >> to the xml folder. My problem comes with the controller. If there any way >> for controller to know whether URL ends with .xml? Currently, I have to >> create new actions for add, edit, delete and view just to handle .xml URLs. >> >> THank you. >> > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
How can controller action function distinguish whether URL ends with .xml or not?
Dear Cakephp gurus, I am creating some web services using cakephp with XML. When user visit a URL, cakephp is smart enough to detect the URL extension and direct to the correct view folder. For example, if URL ends with .xml, view is directed to the xml folder. My problem comes with the controller. If there any way for controller to know whether URL ends with .xml? Currently, I have to create new actions for add, edit, delete and view just to handle .xml URLs. THank you. -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Getting CakePhp to talk to Android devices
To test HTTP Post web services for edit action, I tried something like; curl -X POST -H "Content-Type: text/xml" -T local-file.xml http://127.0.0.1/myproject/edit/1.xml The problem is I do not know how local-file.xml should look like as there is no documentation that I can find on this aspect. Is there any sample xml file that someone here can show? Thank you very much. On Tuesday, September 11, 2012 6:35:55 PM UTC+8, Lightee wrote: > > Dear Cakephp gurus, > > I managed to get web services for view and index working by following the > instructions at the link below. > > http://book.cakephp.org/2.0/en/development/rest.html > > View and index are easy because it uses HTTP GET. For edit and delete > which uses HTTP POST, I am at a loss. I do not know how the URL will look > like in the first place to edit certain data fields. Can someone advise or > provide some useful link? Thank you very much. > > > On Thursday, July 26, 2012 6:31:16 PM UTC+8, Lightee wrote: >> >> Dear CakePHP experts, >> >> I am thinking of creating an Android app to talk to CakePHP server app. >> Sorry for my amateur questions because I am still a newbie. Is there >> anything extra I need to do on the CakePHP side? Are web services the way >> to go? Can the Android talk to MySql database directly and pull out data? >> >> Thank you. >> > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Getting CakePhp to talk to Android devices
Dear Cakephp gurus, I managed to get web services for view and index working by following the instructions at the link below. http://book.cakephp.org/2.0/en/development/rest.html View and index are easy because it uses HTTP GET. For edit and delete which uses HTTP POST, I am at a loss. I do not know how the URL will look like in the first place to edit certain data fields. Can someone advise or provide some useful link? Thank you very much. On Thursday, July 26, 2012 6:31:16 PM UTC+8, Lightee wrote: > > Dear CakePHP experts, > > I am thinking of creating an Android app to talk to CakePHP server app. > Sorry for my amateur questions because I am still a newbie. Is there > anything extra I need to do on the CakePHP side? Are web services the way > to go? Can the Android talk to MySql database directly and pull out data? > > Thank you. > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Any problems with URL with unusual characters due to parameters having unusual characters
Dear CakePHP experts, I need to pass some parameters with unusual characters like <,>, -,^ to cakephp. Will there be any problems if the URL contains these kind of "funny" characters? Will Cakephp be able to handle these kind of parameters? Thank you for your help. -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Documentation on modifying default REST routes
Thanks for your patient replies. Yes, I did read it even a few times but cannot be sure if I understand correctly. The problem is there is no sample code to test one's understanding. "edit", "[method]" => "PUT"), array("id" => "[0-9]+")); I am guessing that what it means is that the action "edit" uses HTTP PUT and the parameter passed in is the id field. id field is a digit. What if I want to pass in 2 or more parameters which are not primary keys? May I know if this can be done in CakePHP? Thank you very much. On Friday, August 10, 2012 4:43:35 PM UTC+8, Mike Griffin wrote: > > On Thu, Aug 9, 2012 at 4:38 PM, Lightee > > wrote: > > What if the wanted data to be returned is based on data fields other > than > > the id? It is restricting to get data based on id only. Is there some > way to > > get data based on other fields of the table? > > > > Did you look here: > http://book.cakephp.org/2.0/en/development/rest.html#custom-rest-routing > > Mike. > On Friday, August 10, 2012 4:43:35 PM UTC+8, Mike Griffin wrote: > > On Thu, Aug 9, 2012 at 4:38 PM, Lightee > > wrote: > > What if the wanted data to be returned is based on data fields other > than > > the id? It is restricting to get data based on id only. Is there some > way to > > get data based on other fields of the table? > > > > Did you look here: > http://book.cakephp.org/2.0/en/development/rest.html#custom-rest-routing > > Mike. > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Does CakePHP convention require primary key to be auto-incrementing?
So, it seems that the value of the primary key cannot be inputted by user. Is this correct? On Friday, August 10, 2012 4:02:25 PM UTC+8, Albert 'Tigr' wrote: > > AFAIK you have a choice of: > > - integer key that you set in your DB to be auto-incremented > - UUID key that CakePHP will automatically generate for you > - any other key that you generate yourself before saving > > HTH > Albert > > On Thursday, August 9, 2012 9:59:44 AM UTC+2, Lightee wrote: >> >> Dear CakePHP gurus, >> >> I am using cakephp scaffolding feature to build a basic CRUD application. >> I have a table which gives problem when adding new record. I discover that >> the reason is that the primary key is not auto-incremented. May I know >> whether this is part of CakePHP convention that primary key has to be >> auto-incremented? >> >> Other tables with primary keys which are auto-incremented do not give me >> problems. >> > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Documentation on modifying default REST routes
What if the wanted data to be returned is based on data fields other than the id? It is restricting to get data based on id only. Is there some way to get data based on other fields of the table? The id bit probably means that an id is being sent to the method. A > view method needs an id to return the single thing that is being > viewed whereas the index doesn't need one as it returns a list of all > things. > > The same for each of the other methods. > > Hope this helps. > Mike. > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Documentation on modifying default REST routes
Dear Cakephp gurus, I am trying to build web services using CakePHP. The default REST routes are not suitable for me as add, edit, update, delete are already taken up for other purposes. I need to modify the default rates. From http://book.cakephp.org/2.0/en/development/rest.html, 'index', 'method' => 'GET', 'id' => false), array('action' => 'view', 'method' => 'GET', 'id' => true), array('action' => 'add', 'method' => 'POST', 'id' => false), array('action' => 'edit', 'method' => 'PUT', 'id' => true), array('action' => 'delete', 'method' => 'DELETE', 'id' => true), array('action' => 'update', 'method' => 'POST', 'id' => true))); What does 'id'=>false or true means? I cannot find sufficient documentation in the API documentation. I have tried to search everywhere on sample code for CakePHP web services. But all I found are 2 links on related documentation http://book.cakephp.org/2.0/en/development/rest.html http://book.cakephp.org/2.0/en/views/json-and-xml-views.html To newbies like me, it is not very helpful although it may be enough for the experts. Can someone point me to more links? Thank you very much. -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Does CakePHP convention require primary key to be auto-incrementing?
Dear CakePHP gurus, I am using cakephp scaffolding feature to build a basic CRUD application. I have a table which gives problem when adding new record. I discover that the reason is that the primary key is not auto-incremented. May I know whether this is part of CakePHP convention that primary key has to be auto-incremented? Other tables with primary keys which are auto-incremented do not give me problems. -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Can CakePHP code be obfuscated for protection?
Thanks for the suggestion. It is a good one. However, my project is divided into 2 phases. I still need to obfuscate the code so that there will be a 2nd phase. Otherwise, customer can steal the phase 1 code and do phase 2 himself. My boss negotiated the deal. I have no control over the terms. Does anyone have a good suggestion on how to obfuscate the code for cakephp? Obfuscating code for php is simpler but doing it for cakephp may be a problem because of the naming conventions. I just need to obfuscate app folder. Any suggestion? Thank you. On Monday, August 6, 2012 11:56:35 AM UTC+8, Jeremy Burns wrote: > > Cool. I actually take payment in stages: > > i) 5% before doing anything. > ii) 15% to the end of definition (all the docs, plans, mockups etc) - this > shows the client what he is going to get and removes any doubt about what > the app will do, timescales etc. If done well, this can be the longest part > of the process. > iii) 20% to start coding. > iv) 20% on delivery into test (in my own test environment). > v) final balance on fixing issues (to the spec agreed in stage ii) and > putting it live. > > If a client won't agree to this you are risking spending your time on a > client who won't pay. In my experience, they all agree to this and sign a > contract at outset. > > Jeremy Burns > Class Outfit > > http://www.classoutfit.com > > On 6 Aug 2012, at 04:36:44, "OJ Tibi - @ojtibi" wrote: > > Well said, Jeremy. I'm putting your message in my "freelancing tips" > notebook. > > On Monday, August 6, 2012 11:30:37 AM UTC+8, Jeremy Burns wrote: >> >> That's hard with PHP. Instead, why not host it somewhere else? Get your >> own domain name and cheap hosting package and put on a subdomain - >> cheapclient.myhostingpackage.com - and tell him that he can test there. >> If he likes it you'll move it to his server after testing, fixing and >> payment. It could be the best $20 you ever spent and will save you a bunch >> of hours trying to hide what is essentially open source code. Don't suggest >> this to the client, just tell him that's what you are going to do. If he >> baulks, stop working on the project immediately because your suspicions are >> right. I put this into each and every one of my contracts up front. >> >> Jeremy Burns >> Class Outfit >> >> http://www.classoutfit.com >> >> On 6 Aug 2012, at 03:03:38, Lightee wrote: >> >> Dear CakePHP gurus, >> >> I have an upcoming project with a stingy customer who looks like the >> not-willing-to-pay-up type. My cakePHP code will be deposited to his web >> server for testing before payment. I want to obfuscate my code so that he >> cannot steal it and then find all sorts of excuses not to pay me. >> >> May I know if there is a way to obfuscate my cakePHP code such that >> someone who has access to the webserver and steals it will have trouble >> reading it? >> >> Thank you. >> >> -- >> Our newest site for the community: CakePHP Video Tutorials >> http://tv.cakephp.org >> Check out the new CakePHP Questions site http://ask.cakephp.org and help >> others with their CakePHP related questions. >> >> >> To unsubscribe from this group, send email to >> cake-php+unsubscr...@googlegroups.com For more options, visit this group >> at http://groups.google.com/group/cake-php >> >> >> > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > > > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Why is composite primary key bad?
I notice that CakePHP does not allow composite primary key. Why is this so? Is it because composite primary keys are bad for some reason or is it simply to stick to convention? I have been using MS Access and there is no such restriction. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Can CakePHP code be obfuscated for protection?
Dear CakePHP gurus, I have an upcoming project with a stingy customer who looks like the not-willing-to-pay-up type. My cakePHP code will be deposited to his web server for testing before payment. I want to obfuscate my code so that he cannot steal it and then find all sorts of excuses not to pay me. May I know if there is a way to obfuscate my cakePHP code such that someone who has access to the webserver and steals it will have trouble reading it? Thank you. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Can CakePHP service be provided to download cvs into Excel?
Dear Cakephp gurus, I would like to use Excel to call a cvs service at CakePHP app and download the csv data into Excel cells. May I know if this can be done? Anyone can provide helpful links on this? Thank you for your help in advance. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Is CakePHP more suitable for web services or Zend Framework?
Thanks for the recommendation. Although CakePHP may be an overkill, it is flexible enough to handle future new features requested by customer. slimframework may be useful for personal projects but I will stick to a more flexible framework like CakePHP or Zend when making recommendation to my boss. On Wednesday, August 1, 2012 1:44:57 PM UTC+8, Dr. Tarique Sani wrote: > > If you are sure that your project is always going to be web service > only I would suggest start with a framework dedicated for such task. > eg: Slim http://www.slimframework.com/ > > Both CakePHP and ZendFW will be an overkill > > HTH > Tarique > > On Wed, Aug 1, 2012 at 6:55 AM, Lightee wrote: > > Dear CakePHP gurus, > > > > I have no intention to start an emotional thread about which framework > is > > better. Asking this question on this forum is also rather stupid because > > members here are likely to be biased. Nevertheless, I hope to get > objective > > replies. > > > > I would like to build a website that focuses on web services - > particularly > > CRUD, search and query functions. From what I read on the net, Zend > > Framework supporters say that Zend has much more components than CakePHP > to > > support web services. On the other hand, my understanding of CakePHP is > that > > Zend Framework components can be imported into CakePHP vendors folder. > If > > that is the case, wouldn't it be a no-brainer to use CakePHP? In that > > regard, I have a few questions ... > > - How easy is it to import Zend components into CakePHP? Do we need to > > modify the Zend components such that they follow certain naming > conventions? > > - Can most Zend components or only selected ones be imported? How about > the > > ones that deal with web services? > > > > Thank you for your help. > > > > > > -- > > Our newest site for the community: CakePHP Video Tutorials > > http://tv.cakephp.org > > Check out the new CakePHP Questions site http://ask.cakephp.org and > help > > others with their CakePHP related questions. > > > > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this > group at > > http://groups.google.com/group/cake-php > > > > -- > = > PHP for E-Biz: http://sanisoft.com > = > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Is CakePHP more suitable for web services or Zend Framework?
Dear CakePHP gurus, I have no intention to start an emotional thread about which framework is better. Asking this question on this forum is also rather stupid because members here are likely to be biased. Nevertheless, I hope to get objective replies. I would like to build a website that focuses on web services - particularly CRUD, search and query functions. From what I read on the net, Zend Framework supporters say that Zend has much more components than CakePHP to support web services. On the other hand, my understanding of CakePHP is that Zend Framework components can be imported into CakePHP vendors folder. If that is the case, wouldn't it be a no-brainer to use CakePHP? In that regard, I have a few questions ... - How easy is it to import Zend components into CakePHP? Do we need to modify the Zend components such that they follow certain naming conventions? - Can most Zend components or only selected ones be imported? How about the ones that deal with web services? Thank you for your help. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Debugging tool for cakephp
Dear cakephp experts, I am a newbie to php. Can someone recommend a good debugging tool that they personally use for cakephp? I am open to all because I know nothing at the moment. Thank you for your help. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Tool to visualize database schema on cakephp
Dear cakephp experts, Does anyone know of tools that can help us visualize the database schema on cakephp? Hopefully, it can show the relationship (1 to many, 1 to 1) between different tables. Thank you. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Getting CakePhp to talk to Android devices
Thank you. I am a newbie. I don't even see the answer when it is presented to me. On careful reading, I think the links already provided the tips on how to add CRUD web services. On Friday, July 27, 2012 3:03:14 PM UTC+8, Dr. Tarique Sani wrote: > > You are doing the Cake part or the Android part? There is nothing more > than the links given for the Cake part > > HTH > > Tarique > > On Fri, Jul 27, 2012 at 12:23 PM, Lightee wrote: > > Thank you for all the helpful answers. Are there ready samples of web > > services to enable a CakePHP app to allow Android apps to retrieve and > > update data from MySql? It is hard for a newbie like me to be able to > start > > work based on API documentation. > > > > Thank you. > > > > > > On Friday, July 27, 2012 11:34:43 AM UTC+8, Dr. Tarique Sani wrote: > >> > >> Create a REST api and let your Android device consume it > >> > >> http://book.cakephp.org/2.0/en/development/rest.html > >> and > >> http://book.cakephp.org/2.0/en/views/json-and-xml-views.html > >> > >> HTH > >> Tarique > >> > >> > >> On Thu, Jul 26, 2012 at 4:01 PM, Lightee wrote: > >> > Dear CakePHP experts, > >> > > >> > I am thinking of creating an Android app to talk to CakePHP server > app. > >> > Sorry for my amateur questions because I am still a newbie. Is there > >> > anything extra I need to do on the CakePHP side? Are web services the > >> > way to > >> > go? Can the Android talk to MySql database directly and pull out > data? > >> > > >> > Thank you. > >> > > >> > -- > >> > Our newest site for the community: CakePHP Video Tutorials > >> > http://tv.cakephp.org > >> > Check out the new CakePHP Questions site http://ask.cakephp.org and > help > >> > others with their CakePHP related questions. > >> > > >> > > >> > To unsubscribe from this group, send email to > >> > cake-php+unsubscr...@googlegroups.com For more options, visit this > group > >> > at > >> > http://groups.google.com/group/cake-php > >> > >> > >> > >> -- > >> = > >> PHP for E-Biz: http://sanisoft.com > >> = > > > > -- > > Our newest site for the community: CakePHP Video Tutorials > > http://tv.cakephp.org > > Check out the new CakePHP Questions site http://ask.cakephp.org and > help > > others with their CakePHP related questions. > > > > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this > group at > > http://groups.google.com/group/cake-php > > > > -- > = > PHP for E-Biz: http://sanisoft.com > = > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Getting CakePhp to talk to Android devices
Thank you for all the helpful answers. Are there ready samples of web services to enable a CakePHP app to allow Android apps to retrieve and update data from MySql? It is hard for a newbie like me to be able to start work based on API documentation. Thank you. On Friday, July 27, 2012 11:34:43 AM UTC+8, Dr. Tarique Sani wrote: > > Create a REST api and let your Android device consume it > > http://book.cakephp.org/2.0/en/development/rest.html > and > http://book.cakephp.org/2.0/en/views/json-and-xml-views.html > > HTH > Tarique > > > On Thu, Jul 26, 2012 at 4:01 PM, Lightee wrote: > > Dear CakePHP experts, > > > > I am thinking of creating an Android app to talk to CakePHP server app. > > Sorry for my amateur questions because I am still a newbie. Is there > > anything extra I need to do on the CakePHP side? Are web services the > way to > > go? Can the Android talk to MySql database directly and pull out data? > > > > Thank you. > > > > -- > > Our newest site for the community: CakePHP Video Tutorials > > http://tv.cakephp.org > > Check out the new CakePHP Questions site http://ask.cakephp.org and > help > > others with their CakePHP related questions. > > > > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this > group at > > http://groups.google.com/group/cake-php > > > > -- > = > PHP for E-Biz: http://sanisoft.com > = > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Using quick way like scaffolding or bake for mobile views
Dear CakePHP experts, I am a newbie to web technologies. I just started using CakePHP and was delighted with how fast I can create a CRUD website with scaffolding and bake. May I know if I can have the same convenience with mobile websites for mobile devices? Thank you for your advice. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Getting CakePhp to talk to Android devices
Dear CakePHP experts, I am thinking of creating an Android app to talk to CakePHP server app. Sorry for my amateur questions because I am still a newbie. Is there anything extra I need to do on the CakePHP side? Are web services the way to go? Can the Android talk to MySql database directly and pull out data? Thank you. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php