Searching CRUD .json in cakephp - cakephp-2.0

I'm using the CRUD component to format my data to .json I now need to search my tables and fields. Installed the Cake DC search component, but can't figure out how to get the 2 to work together. Can someone point me in the right direction?

Related

Pull shopify image files

I have been banging my head against the wall trying to work out how to use graphQL, to pull the images and then place them on the customer website. I am using the framework Hydrogen which is built for shopify. Now I have tried a few things. I have tried and use a package to fix my option, but the problem I am having is grabbing the images. I really dont want to make a sepreate database. I am happy with the shopify, but as stated at the start. I have no clue how to get them image files.
As said at the top I have tried using the GraphQL but cant pull from the database of shopify

Spring boot-Building backend of react web app

Im currently working on my backend for my website and Ive found that I need an index html. As I've done my front end in react (on Vscode) do I just copy and paste the exact same index html code I've already done in react in spring boot?
On my index page there is a search bar where users will enter text and I will pass it through to my algorithm that I've created in spring boot on eclipse and then the result will be returned on a new page. I've searched how to do this but a lot of the examples are more to do with saving items entered into a database. Im assuming I will need a controller which I have made that will link to the index page? But I don't know what else comes after that This may seem trivial but I am a complete beginner. Thanks in advance!
The class named review.java is my algorithm. I read that I probably need an entity, repo and service but I am unsure what goes in them. Ive attached my package explorer. Sorry if this a very basic question.
package explorer

Exporting Content Type Data from Drupal 7 Database

we're in the process of moving a client site from Drupal to Kentico and hoping to speed up some of the content creation by importing data for a custom content type. I don't have development access to the Drupal site to do anything in PHP, I only have a full export of the database that we've restored in our MSSQL environment.
I've been looking through the database and trying to reverse engineer how this info is stored, but it's extremely complicated compared to exports we've used from other CMS platforms. So far from what I can tell, I need to at least use a combination of data from the node table and the field_data_ tables. For example, in Drupal there's a custom content type for award, so I'm looking at the data tables that start with field_data_field_award_, but those look like they need to be further joined to something else since they don't contain the data itself.
Any insight or suggestions are much appreciated.
Using only DB export to do migration can turn out to be unnecessarily complex.
An easy option would be to create REST endpoints in Drupal application to pull content pages as JSON and then consume JSON in kentico to create content.
For example: /api/awards will render all awards pages in Drupal.
For Drupal 8 You can use views REST export to create this endpoint in minutes.
For Drupal 7 https://www.drupal.org/project/views_data_export can be used to export content as JSON

Generating data navigation automatically from GraphQL Schema

I am trying to parse the Schema & AST of a given GraphQL endpoint in order to create auto-generated navigation (according to the parsed schema) for my data.
I tried looking for a solution for public projects but couldn't find any. If anyone has any suggestion / could refer me to a starting point it could be amazing.

What is the best way how to obtain a list of images hosted on a Scene 7 server?

I am working on an (angular 1) application feature that has to display a list of images that are available for user to select (for whatever purpose).
It is all very trivial, except that the images are hosted on a Scene 7
server. I know there is concept of image sets. Presumably a set would be created there and all I would need to do is to obtain the list of images in that set and parse it into a javascript array.
However, after some looking through docs and searching the web, I am no wiser how to achieve that.
How would one go about achieving this end? Getting a list of available images from Scene 7 server and passing that to an angular appliation?
In an ideal case, that would be in JSON format and with frontend-only approach. However, if that is impossible, then other approaches would do too. Say, an angular call to own backend server that would connect to Scene 7 API, obtain that list in whatever shape or format, parse it and then pass it as JSON to angular app.
Has anyone had experience with this?
If supported, could develop an API that retrieves the image Urls from the Image Server.

Resources