I'm trying to implement an internal search engine for my webmatrix website, it will serach through my database(SQL CE) for similarity and return results. Someone suggested me to use lucene.net because of how powerful it is. I cannot find documentation on implementing lucene.net with webmatrix, only implementation on asp.net with VS 2015. Can anyone guide me on implementing it on webmatrix? Or does anyone have any good suggestion for internal search engine? Or it would be easier to write my own search algorithm? Thanks!
You might like to use our product SearchUnit Community, there's a free version for small websites. I believe you'll find it easier to use than Lucene, and although we don't have documentation specific to WebMatrix, the standard Javascript based usage should apply just the same. The product uses ASP.NET on the backend.
For example if you look at the quick start, you'll see that you can crawl any web-site using the index manager tool. Then you drop some Javascript onto your page, and hook up WCF for the backend search calls.
If it helps, the search engine uses Javascript/HTML on the front end to build the UI, and then communicates via AJAX/WCF to the backend service that does the searching.
You can run WCF with webmatrix, see https://blogs.msdn.microsoft.com/james_osbornes_blog/2010/07/30/webmatrix-iisexpress-beta-hosting-wcf-services/
If you're stuck you're welcome to post support questions on the SearchUnit Community forum
Related
How are you all? I'm a beginner with the web programming. I am planning to develop my personal e-commerce Bookstore for myself. I've basic knowledge of ReactJS, ExpressJS, Spring MVC, MongoDB, and Mysql. I've already done some basic project in ReactJS, Spring MVC-MySQL and Express-MongoDB like Personal Diary, Cost management system, School management system etc. My future plan is to build a native mobile app for this Bookstore. I am a little bit confused to select the language and framework. I've some question and need experts opinion and suggestion like you.
ReactJS or NextJS(Server Side Rendering), which one will best for the frontend of this Bookstore?
Do I have any possibility to face any problem in SEO in the SPA?
Which Framework and Database will best for building the backend for better performance and lower hosting cost?
By using that backend service, can I use the same API endpoint to build a native app?
Any alternative technology to develop the bookstore?
Thank you all in advance.
-ReactJS has a vibrant and big community, so you would find plenty of support
-As far as i understand type of language for the front-end or SPA's shouldn't affect your SEO
-Java is rock solid, battle tested whereas NodeJs is new and a lot of experiments still going around it. Although it is claimed to be faster and easier to work with.
-Cost ? the cheapest would be PHP Apache shared hosting. Java and or JavaScript will both cost almost the same on platforms like heroku or digital ocean.
-Yes you should be able to build native apps using the same endpoints.
-With what you know do not look for alternate technologies. (What you have is more than enough)
-Moral of the story - If you are alone doing everything, JavaScript can save you a lot of time and effort. (Building web-apps, hybrid mobiles apps and server side APIs, all using JavaScript), however if you choose Java for server side, that knowledge may help you build a native android app and then you will need to learn Swift for a native IOS app and JavaScript anyway for web apps.
Everything boils down to what you are doing and how you are doing it.
All the best!
Two years ago I developed an admin panel using winFroms that is used to configure different settings for specific users, create/remove users etc. This information is retrieved and saved to a SQL Database server.
I want to make this panel accessible through web browsers. I already have a REST API that will communicate with the database.
My question is: which technologies are the best to make this panel?
I've come across WebForms, MVC, HTML with Angular, jQuery etc., or with SPA.
I would appreciate it if someone can enlighten me with this matter. I know its not really a specific programmatic question, but there are so many different approaches that is difficult to find the right or best way.
I guess you already know a lot of .NET so if I was you I would just use a WebForms or MVC project and then call some jQuery on the api to handle the CRUD operations. But if you wanna try something completely new then use Angular.
I've been programing for some time now, and the thing I get asked the most is, how about MySQL database.
What are some good sites for learning about data base programing with xcode, so I can make a app work together with a web site?
To integrate an iPhone/iPad application with mysql you need to develop webservices and then call them in your app. I would suggest the use of JSON, SOAP, XML or PHP, some examples:
http://www.raywenderlich.com/2941/how-to-write-a-simple-phpmysql-web-service-for-an-ios-app
http://www.icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/
http://www.devx.com/wireless/Article/43209
There are a lot of combinations possible.... you can use php or .net or other frameworks, so it's hard to give you a complete list of tutorials.
If you want to develop a regular iOS application, i would suggest this link:
http://blog.iosplace.com/?p=30
Hope it helps.
I'd like to pick up a new tech for my toolbox - something for rapid prototyping of web apps. Brief requirements:
public access (not hosted on my machine) - like Google's appengine, etc
no tricky configuration necessary to build a simple web app host
DB access (small storage provided) including some kind of SQLish query language
easy front end HTML templating
ability to access as a JSON service
C# or Java,PHP or Python - or a fun new language to learn is OK
free!
An example app, very simple: render an AJAXy editable (add/delete/edit/drag) list of rich-data list items via some template language, so I can quickly mock up a UI for a client. ie. I can do most of the work client-side, but need convenient back end to handle the permanent storage. (In fact I suppose it doesn't even need HTML templating if I can directly access a DB via AJAX calls.)
I realize this is a bit vague but am wondering if anyone has recommendations. A Rails host might be best for this (but probably not free) or maybe App Engine, or some other choice I'm not aware of? I've been doing everything with heavyweight servers (ASP.NET etc) for so long that I'm just not up on the latest...
Thanks - I'll follow up on comments if this isn't clear enough :)
C# or Java,PHP or Python - or a fun new language to learn is OK
How 'bout Javascript? This place hosts server-side Javascript ticking most of your other boxes. So you can use the same language for client- and server-side stuff (which I find very handy). [Caveat: I only played with their service; seemed cool though. I use Javascript on the server-side on IIS and on Tomcat (via Rhino).]
For something bleeding edge - A new version of spring roo was released recently. With it you can create a great web app in 10 minutes. Supports GAE and GWT...
http://www.springsource.org/roo
xataface is a quick way to make a front end for a MySQL database.
It makes it easy to start an app quickly with dynamically created views and then you can change it to something very customized to your needs.
It simply needs a server service with MySQL and PHP.
I want to setup a simple site and I don't have any web development experience.
For a start, I need to create a basic form where I can post text and store it in a database. Nothing fancy.
Questions that I need answers:
Good free web hosting sites?
Any frameworks that I should use? (I'm familiar with Python and C++).
Are there websites where users can store and search any type of data?
Note that it's for personal usage and that I use Windows XP.
(I don't have any web development experience: I know HTML, how to use CSS, and I've tried Javascript, but I didn't build any real site)
I'd really like your help on this.
If you're familiar with Python I'd suggest using the Google App Engine. It's free if you don't have a lot of traffic and the framework provided there is also very easy to use.
If you just need a form and storage, then the absolute simplest solution (no coding required) would be a Google Docs spreadsheet form.
If you're only storing text with no need for intelligent queries, you could also consider using a wiki. I have my personal site hosted by wikidot.com which is free and perfect for my needs (I use it to store all my links with comments and some reviews).
Regards,
Sebastiaan