I would like to include into my project a lookup control. Example of this control here :
But I'm a simple student, and so I'm very poor :)
So do you know a free control like this for my mvc3 project ? Thanks in advance !
Google! Many sites embeds external search engines.
If you're looking to add a search engine to your web site, there are three things you need to thing about:
The index, which holds the search results. Lucene, Solr and Sphinx are examples of this.
The crawler, which gathers the results and puts them into the index
The ui to get the results back from the index.
The control you linked to seems to provide all three. For a free replacement, maybe have a look at something like http://www.searchblox.com/
One option is the jQuery UI "Autocomplete" plugin:
http://jqueryui.com/demos/autocomplete/
This doesn't integrate with MVC out of the box; you'd need to write a server side method to provide the content for the completion drop down.
Related
I want to create an application that basically search for something with some filters from various websites (I don't require to login to those third party websites so the data available is open to public) and show it on my application. I have a few questions:
1. Is It Legal ?
2. Is this web scraping or Meta Search Engine ?
3. Can I get more information (any web links/articles) to know more
about it ? How to achieve it technically ? One way I know that we can use the XPath technique to scrape but I am wondering if there are more ways.
I am NOT asking for the entire code. Just how to start / Any guidance?
Thank You in Advance !
Firstly you need to understand how search engines work!
-Our so called search engines like google have special programs designed to mine out information from the web they are called "Spiders" what a spider does is basically scroll over all web pages within the search query and find matching information however that's a really complex thing to work on! it takes really good code and algorithm expertise to develop a spider for yourself. However if you can master that you'll be earning a smooth sum of money, but it's really rare unless you're a blatant genius!
In an web application using MVC4, c# and Razor, there is a cool searchbox functionality that I need to implement.
It has 3 stages:
type 3 characters and search for result
select result from autocomplete list
present result as a funny removable object
Here are images:
I know I can implement steps 1 and 2 by using jquery autocomplete:
http://jqueryui.com/autocomplete/#remote
However, I have no idea on how to do step 3.
The web application is in my possession, but since the code is not commented nor is it properly refactored, I have no idea on how to replicate this functionality, nor do I know where to look for it in the code.
Can someone help me?
After checking on ChrFin's suggestion I made a search on my own and found select2:
http://plugins.jquery.com/select2/
The project is currently using this, so I am going to keep it and give it a whirl.
In the meantime, ChrFin's suggestion should also be mentioned:
http://demos.telerik.com/kendo-ui/multiselect/serverfiltering
Thanks for the help!
I'm trying to create a wpf application such as a movies library because i would like to manage and sort out my movies with a pretty interface.
I'd like to create a library with all my movies getting information from the web, but i don't know how very well.
I thought to get the information from a web site, for example imdb, but i don't know if it's legally to capture html from page to get the nested information.
It's my first desktop application and I would also like to know if it is necessary to create a database within the project and then create a setup project with specified script for deploy it.
Sorry for the confusion but i would like to know too much things :)
Thanks a lot in advance.
The legality of web scraping is a grey area. See my question, "Legality of Web Scraping vs Normal Use" and the corresponding answers for some insight.
Even if the legality is not a problem, web scraping is a flimsy approach because the webpage structure may change without notice, making your application suddenly useless until you update it to the new format. You are much better off using some sort of web API (if the site providing the information offers it).
Whether you need a database or not depends entirely on what your application will be doing and how you design it - it's not something any of us can tell you.
Same goes for the setup project - in fact I wouldn't worry about that until you actually have a working application. Take it step by step and keep the scope within control.
Yes I did not think about api.
It's a great idea, maybe use "themoviedb".
But if i create an application based on it, that has to show all the movies that you have stored on your hdd and get , for example, the posters, the description and the ranking, i have to create a database according to you?
Thanks a lot.
I am attempting to create a store page, and for the storefront page I need to create something that will
list items from the database,
get the ID + Image URL saved in the database
create an hyperlinked image for each item in the query.
Any suggestions on how to do this?
The hyperlinked image will be an image of a product and links to a store page based on ID.
and a list of them will be displayed for the person to click on.
Thank you in advance, this project is a first for me (as well as my first web application in asp.net) and I'd like to see it done right!
And the site is done in C#, although if necessary I can port over to VB, at this time, not much actual code behind has been written, and I am comfortable enough with both to port whatever code I have over to it)
A simple approach would be to use an ASP.NET repeater.
Class documentation is here: http://msdn.microsoft.com/en-us/library/w9283stf
One detailed (although potentially out-of-date) article I found with a quick search is http://msdn.microsoft.com/en-us/magazine/cc163780.aspx
(But there are plenty of other "how to use repeater control" articles out there).
Good luck.
i am creating an ASP.NET C# web application and I am looking for the easiest way to do a comments system.
I'll explain.
I have a page containing Items (list items containing texts)
I want the users to be able to click on one, and then he is allowed to reply or comment to it. and he can see what others have replied too.
Is there a library or API that can do that? and if not can you give me tips on how to do it?
Have a look at systems like DISQUS or Livefyre. The benefit of using such services (besides avoiding development) is social integration.