Help in a search about the framework.


#1

Hello, I’m new here, I’m doing a research on cakePhp to be used in a project at my school, and I was wondering if you can help me with this.

Here are the issues raised:

Is cakephp scalable? About 10,000 people “accessing” the web application.

Does cakephp support any database other than relational?

Cakephp integrates with social networking APIs (Facebook, Twitter, LinkedIn)

(I’m Brazilian and my English is not very good = /, sorry for that)

Any help will be welcome! and thank you very much in advance.


#2

Is cakephp scalable? About 10,000 people “accessing” the web application.

short answer: yes
longer answer: php due to how the request is processed is scalable but you also have to scale sessions, databases, possibly assets and maybe more depending on your application

Does cakephp support any database other than relational?

out of the box you have: https://book.cakephp.org/3.0/en/orm/database-basics.html#supported-databases
but there are plugins like this one: https://github.com/dilab/cake-mongo

Cakephp integrates with social networking APIs (Facebook, Twitter, LinkedIn)

if you want just login https://github.com/ADmad/cakephp-social-auth
if you want something more not sure if there is one to rule them all plugin in any framework but there are plugins for most of social networking there


#3

Welcome! Hope you decide to use it!

Yes, very scalable. With the Caveat that how scalable your end application is is more dependant on how you code your application and apply best practises.

“out the box”, the CakePHP ORM only supports relational databases. However, thanks to the magic of modern PHP development, you can use anything that you want to! There is an official CakePHP library that adds support for elasticsearch (https://github.com/cakephp/elastic-search). Also take a look at https://github.com/friendsofcake/awesome-cakephp#nosql

Yup, plenty of plugins to help with that. Look at https://github.com/friendsofcake/awesome-cakephp#third-party-apis. For social authentication, ADMad’s plugin (as mentioned above), or the CakeDC Users plugin (https://github.com/cakedc/users)

Your English is very good!

A pleasure. Feel free to ask more questions.


#4

Many thanks for the answers!

There was another doubt in my research, which would be if cakePhp accepts “polyglot persistence”, the possibility of using more than one type of database (relational and no-SQL for example).

Would you also like to know if the API’s only log in to the social network, or does it also “capture” the user’s basic data?

I know there are lots of questions, but do you guys use the cake any longer, could you name some “pros and cons” of using the cake?

Thanks in advance!


#5

There was another doubt in my research, which would be if cakePhp accepts “polyglot persistence”, the possibility of using more than one type of database (relational and no-SQL for example).

you may use multiple connections inside your app and tell cake which table uses which https://book.cakephp.org/3.0/en/orm/table-objects.html#configuring-connections

Would you also like to know if the API’s only log in to the social network, or does it also “capture” the user’s basic data?

its all in docs https://github.com/ADmad/cakephp-social-auth#usage

I know there are lots of questions, but do you guys use the cake any longer, could you name some “pros and cons” of using the cake?

for cons i can only say that it takes a while to get comfortable with how to do things properly in cake but after it its quite pleasant to work with cake