Laravel 5.6 Ajax autocomplete from an api - laravel

I have an external API which returns a list of products and prices. I cant to store this data in the database and I am not interested in displaying the entire list due to some privacy issues. Instead, I would like show a subset of the list with live search / autocomplete. How do I go about it?

This is more of a frontend related thing, give jQuery UI Autocomplete a try.

Related

How does one use Magento's REST API to run keyword queries?

I'm developing a community extension for Magento, when a product search is detected, some JavaScript included with the extension needs to query the Magento API to get a larger number of results than are rendered on page.
I have the API configured, responding, and returning useful data, but I'm struggling to find a way to apply a query to the API call. I've tried adding ?q= or ?keyword= and similar, but it continues to return the same set of data without any filtering applied. Countless passes through Google, Magento StackExchange, and various Magento developer forums haven't made it clear one way or another if this is even possible.
Does the REST API support keyword / phrase searches, or will my extension need to include a block that adds this functionality to the REST API?
Did you take a look at Magento API Filtering .
You could also create you own Custom API or Extending the Core API

Does Google Shows the AJAX based website results in search?

I want to know that i am making a website which shows all the latest information on the front page... the website is completely AJAX working , So all the data is in the Server Databases , If someone searches for a perticular data available in my site through Search engines then will the search engine searches the database?
By default, no, AJAX-only accessible content is not going to be crawled by Google. There is a convention you can use, however, to ensure that it does get crawled - the "Hash Wallop".
When Google (and other search engines), encounter a link that starts with "#!", it will "crawl" the dynamic content returning from an AJAX call. To take advantage of this, rather than having something like:
trigger ajax
...you will want to use something like:
trigger ajax
There is some more info on the technique here (and lots of others sites, just google it): http://www.seomoz.org/blog/how-to-allow-google-to-crawl-ajax-content
Some insight: http://coding.smashingmagazine.com/2011/09/27/searchable-dynamic-content-with-ajax-crawling/
Also, you might want to look into HTML caching, it will boost your SEO performance.

starting an autocomplete small project

I am not experienced in this field.
I have a database that contains a table with customer names. For example CUSTOMER_T contains
"customer1", "Nick", "Test", etc...I have a web server connected with the DB and let's say a method to get the "customer names". Also I have a small WEB GUI with a textbox, where the customer types a string and invokes the get method that returns the database results.
I want to enhance this functionality with an auto-complete feature, like google suggest. What do I need to install in the server and in the GUI? Please note that the list of customers is dynamic.
Does the server need a special capability - library?
Does the client need a special capability - library?
User JQuery, JQuery UI, and the JQuery UI autocomplete plugin. Start at the autocomplete plugin page.
You can use ajax for autocomplete and as just a query to bring back data in for the textfield

Is it possible to display and search data using orchard cms from an external datasource?

I'm just starting to play around with Orchard CMS. I like what I see so far, but I need to be able to create pages that display record details for data stored in another system. Does any one know if that is possible?
I have a SQL Server database that hold real estate property record information. This information gets displayed on the web. On that same website are informational content pages (FAQs, Contact Us, Home, etc...) What I would like to to is leverage the CMS portion of Orchard for the content pages. Then I would like to write a module using the Orchard that would get the real estate info, allow users to search parcels, and display detail pages for each parcel.
If you view the site http://www.sc-pa.com/search you can search by last name "smith" and select one record. That may help illustrate what I need Orchard to do.
Yes, that is possible, but your scenario is way too vague to get into any specifics. Can you elaborate on exactly what you are trying to do: what does the external data look like, where is it stored, how do you want to integrate it into Orchard, do you need any integration with content types and parts, or with search, etc.
One alternative is to expose ur data as web service or odata endpoint and then use jquery to do asynch call to get json data. Then ur home free.
Create a page and put the javascript in that or include a ref to js file.

Online Shop with Ajax support to filter products

I've searched the internet and couldn't find a free (or not very expensive) solution that offers the following behavior: I would like to set up an online shop where the user can click checkboxes to refine the selection of products, like on asos.com.
As it's not going to be a huge shop, I plan to use Wordpress together with the Shopp Plugin. What I now need is that extra Ajax part to refresh the product list based on the selection the user makes.
Does anyone know a plugin that has this behavior built-in? Or can someone point me to a tutorial or similar? I'm pretty new to Ajax but familiar with jQuery.
Thanks!
not sure if you found something, but I can confirm that Shopp does have filtering - they call it 'Faceted Menus' but that as far as I can see (just tested it) it's not Ajax and reloads the page.

Resources