How can you build React on top of Drupal? - reactjs

I've never used Drupal, but have been looking up tutorials online. My client would really like the adaptability of React and to have more flexibility in terms of design. I could make my own database and React app, but I have not studied security (I'm a team of one, so no one for security on my end, either). Security and access to a content management system was the main reason we decided to go with Drupal. However, I would still like to be able to code in React/something I'm familiar with to produce a site I am proud to say I made.
I've been Googling and Youtubing tutorials and help, but not having anyone to ask specific questions is making this difficult.
If anyone knows of a relatively easy way to build a React app on Drupal, I would really appreciate the advice. Or if there is a better way I should go about beginning a project as I've briefly mentioned above, I would also be open to that. Thank you in advance and sorry for the long message!

What you are asking is quite broad in concept and not easy to answer in just one answer post. Try to look for Headless / Decoupled Drupal.
https://www.acquia.com/drupal/decoupled-drupal
What this essentially means is that all the services and the content management are handled by Drupal while the core user experience or the way the site is displayed in a browser is controlled via a JavaScript framework such as React.js or backbone.js. This is achieved via Drupal’s RESTful API service.
Hope this helps.

Related

A question about React Native Licence and any legal issues

We are currently in the planning phases of a new Social Media app. We want to build it in React Native, due to working with javascript, etc.
Now I couldn't get a complete answer when looking online but I want to ask you, if there would be any legal issues if would ever go public and get any success, since we would be a direct competitor with Facebook.
If you have any advice about this I would be were happy to hear it.
https://github.com/facebook/react-native/blob/master/LICENSE, This is on facebooks' own account.
Also there are resources like this on the web https://www.quora.com/What-are-the-conditions-of-the-React-Native-license

Wordpress and database basics. Where to start?

Hope you are doing all ok.
I am new to programming and I've been messing around with some things: javascript in Google app script, some python lines too, and some basic SQL skills too. I managed to create a simple system for a nonprofit organization and now I would like to learn about Wordpress and how to connect a database (phpmyadmin from xampp) to my Wordpress Frankenstein. I managed to create a simple (VERY simple) site and I've been playing a while with xampp, but now i would like to:
1- send data to my database from my Wordpress site (I know how to build a form already).
2- send data from my database to my Wordpress site.
3- edit data stored in my database using a Wordpress form.
I know there are a LOT of things involved in my questions but I just want a... mmmmmm... starting point, maybe? what should I learn, read, study to accomplish this task?
Sorry if this question is too newbie or basic for some people here but as I said before: I am learning. I've been looking around for about one month but I really don't understand how it works.
Thanks a lot guys/girls for taking the time to read my question and, more important, thank you in advance for your advice.
A great way to start learning a language/how to achieve something is to either take a course on coursera/khan academy/youtube or google it!
A few quick resources I found:
1) Working with Databases in Wordpress
2)How to build a Wordpress Database Table
3)Beginners Wordpress Database Guide
Hope it was helpful!
PS:First Answer, if anything is wrong with this please let me know!
The situation each and every of us faced when we have been started !
Lets share my learning from that mistake with you.
Don't focus on too many thing.
First use WordPress and all popular plugins as user and try to understand how its work and what is the usability of the plugin.
try to read some guideline , Obviously w3 school.
If you are not good in PHP , Then try to learn PHP first. Then OOP in PHP from w3 school.
After that try to start developing a small plugin like "A plugin to print Sunshine after each content " or "A Plugin to extend Wp User Profile Info Like to add Facebook link or Twitter Link"
Both having proper tutorial. So check carefully from envato tutus.
Start learning by building things , Not like start learning by only reading. And thats the journey --- let me know if there I can help you in any way :)

Creating an online Asset Library/Catalogue? Help

I've been asked to look in to creating and online database for sorting flash banners. So its kind of like a big resource library where our client can log on search and browser for old/existing banner creatives.
Does anyone have any recommendations on what I should do/look in to. CMS Framesworks etc.
I'm pretty sure I could use Wordpress for this job via custom post types etc. But I think there's probably a better solution out there. Drupal? Joomla? Expression Engine? Or would it be better to just create a basic cms from scratch.
Features needed:
Kick arse search functionality (am guessing the client will likely try to search for creative by year, month, campaign, banner type.
Smart navigation
Sharing is convenient
Must be able to demo working demos of expanding banners as well as non-expanding
CMS so new ads can be easily added to the library.
Thanks in advance for you knowledgeable insights :P
cheers
Although basic Joomla has own extension for this purpose, here:
http://extensions.joomla.org/extensions/ads-a-affiliates/banner-management , you have got a whole set of advanced extensions which do the job for you in Joomla. Read opinions and choose your favourite

GWT multi-module application

I am a GWT beginner, thinking about developing a management software and deploy it on AppEngine.
In my mind there's a "tabbed" user interface.
Tab1= sales; Tab2= invoices; Tab3= stock ... and so on.
I just completed the Stockwatcher tutorial and it's very cool, but now I was wondering on how to organize my code.
I mean, is making a gwt module for each tab a nice idea? For example, I want to load the interface for the 'invoices' tab only when I select that tab. Even if my idea about multimodule is wrong, can you tell me how to avoid having all my code in a "Stockwatcher" class. E.g. i read about composite, but I can't understand.
Hoping you understand my doubts. Thank you all!
If you haven't done yet anything with GWT before or haven't had much experience do not bother yourself with questions how to organize the code. Just make it. Create the user interface and the backing code. Have your application running and then go back and think about the things that could be improved. Look for the code duplication, read few articles on refactoring and try to apply. First you need to create something, feel the joy of creation and form a foundation for further improvements.

I want to build a Google-friendly web app, where should I start?

I have only very basic experience with HTML/CSS and have quite a bit of experience with testing software and web apps from a consumer perspective. I'd love to launch a web application that plays nicely with Google services, similar to some of the apps you'd find on the Google Apps Marketplace, such as ManyMoon, time to note, Socialwok, etc. I'm a huge Google fan and would like to build something that's well integrated with other Google services.
If you were a total beginner and wanted to build a complex app like one of examples above (project management, CRM, etc), where would you start?
If you worked your ass off 18 hours a day, 24/7, how fast could you do it?
I've dabbled into various languages and development frameworks, and read about which apps are using what languages but it's hard to figure out what would be most beneficial to jump into. Ruby on Rails, PHP, Google Web Toolkit, AppEngine. The list goes on and on. I want to be able to build and launch my own scalable web app.
Thanks.
One bit of advice: There is no shortcut for proper experience. It took me 4 years to come to a point where I can build enterprise level web apps - even though I had the dream of building one immediately, right from the beginning. Start small and build your way up.
Even though I did hate this advice when I was receiving it... Don't try to build the next Facebook platform right now.
Now, to answer your question:
Skills:
You must be absolutely clear about server-client interaction with respect to HTTP. You will never understand AJAX fully without understanding HTTP and behind the scenes of browsers. Note: being clear and knowing everything are two different things. Be clear about HTTP.
Learn about HTML/CSS and JavaScript standards to some extent to know that they bahave differently in different browsers. In the grand scheme of things, they are not that important if you are okay with some framework that handles these for you (I recommend JQuery and JQuery UI).
Learn a little about Linux, Apache, PHP.
How to go about it:
To develop web-apps, you could start with the LAMP stack - Linux + Apache + MySQL + PHP.
First build a small web app that does something trivial - like saving and retrieving user's stuff using AJAX and a nice UI or something. I'd recommend jQuery and jQueryUI for JavaScript and UI frameworks.
Then, build a small web app that just gets data from some Google service, given a user's credentials.. I am not Google expert but I guess Google provides APIs for some services(?).
Then build an app where two people can share their data coming from a Google's service or something to that effect.
Then add your own fancy stuff.
It goes on like that.
If you are a .Net person, you could go with.. Windows + IIS + MS SQL Server + ASP.Net3.5/VB/C#. Guess what? StackOverflow is build on that stack :)
Learning about and using an MVC framework is also a good idea - ASP.Net MVC or something similar for PHP.
Minor clarification - By Google-friendly did you mean SEO-friendly? If so, Google-friendly and web-app don't go well together.
It makes sense to build a Google-friendly website not a web-app.
I would start by
brainstorming a hands-on project
identify the skills you will need to achieve it
learn them as you work through the project
set progress goals and celebrate small victories
For most people 18 hrs/day 24/7 sounds a little overly optimistic. A reasonable goal would be to form an interesting project idea and research the needed skills the first week, work through a few tutorials and maybe apply your own functionality the second week, build something 'complete' the third week, then take a step back and take another look at your original goal.
As far as choosing a project, I find a notepad helps. I'll be somewhere and think, 'wouldn't it be nice if...' and I'll go look for a solution that provides that 'what if' and find it doesn't exist. So there you go.
I would also have a look to one of the top voted questions here on Stack Overflow:
What should a developer know before building a public web site.

Resources