Textbox link preview in asp.net [closed] - asp.net

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have to create an application for link and video sharing, similar to facebook. I tried to search any tutorial/demo/code snippet for the same. There are tons for tutorial in php to do that
Link 1
Link 2
Link 3
Link 4
Unfortunately, I didn't find any tutorial on ASP.NET. I also tried to convert the php code to asp.net but due my zero level knowledge in PHP I am not able to convert it completely. I did install PHP to ASP.NET 1.x migration but as per tutorial it is not reflecting on VS2005, VS2008 & VS2010.
Can anyone guide me how I can implement the same with asp.net? Or how I can convert the existing code from php to asp.net?

PHP is a pretty simple language to pick up and certainly isn't something that would convert to asp.net without a LOT of rework as the conceptual model is just totally different.
I'd suggest you take a look at the php.net site, specifically the language reference area. That site is the go to place for understanding php. You may also want to start with a simple example and work up from there. That way you can start reading your existing code to figure out what each function call means.
The good news is that php and c# share the same root language so things like foreach work pretty much identically between the two.
After you've gone through a bit of that, come back and post a question about a specific problem you are having or a specific area of the php code you don't understand.
Finally, if your willing to look a project that does this whose only requirement is the usage of json, then check out http://embed.ly

Related

Need tips in designing a web page in asp.net [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am little too bad in the UI design in asp.net/html. I am trying to build a new website (just to get back on the skills to develop UI designing) using asp.net/html/visual studio 2012. I have the UI with master pages/css and I am using divs to get the elements in place (I am using px in css width/height). All looked good when I have my browser in maximized view. When I resize the browser, every thing in the page is so scrambled and I don't even get a scroll bar at the bottom of the browser.
I checked couple of websites and found that I am doing something wrong. When you go to amazon.com and resize your browser, it won't scramble and every thing stays in place. How can I get that? What am I doing wrong? Please advise.
Thanks.
Sounds like you have floating elements that aren't cleared. You (perhaps) could fix it by ensuring you are clearing floating elements in your CSS by using clear.
Since you are inexperienced, you'd probably be better served using a boilerplate which will provide you with a good framework to build around. Here are some:
HTML5 Boilerplate for ASP.NET MVC4
Twitter Bootstrap for ASP.NET MVC4
Amazium
or just search for 'bootstrap' on NuGet

Ajax technique used by popular sites such as facebook [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I'm interested in using a similar ajax technique that facebook uses. For instance, at your home page when you click on a group on the side it loads the content in the main section but does not have to re-render the top dash or side components. I've messed around with partial views and loading them at request but it's still not the same because it does not seem like an "action" and thus it doesn't change the url and the back button will only take you back from your previous action, not from the partial view.
I was wondering if anyone could point me to a tutorial or reference that goes over this technique for ASP.NET MVC 4.
Thanks in advance!
To build a web UI that is facebook similar you need a powerful JavaScript client GUI library , the server side technologies like MVC3/4 ASP.NET will not help here.
check the sencha extjs library here:http://www.sencha.com/products/extjs/examples/
for an overview of most popular JS GUI libraries check this: http://javascriptlibraries.com/

symfony2: pseudo locale (auto-)detection [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have googling this for weeks now and i can't find a nice answer and uique way to do this.
I have a symfony2 application that is using FOSUserBundle. The app is available in different languages.
What i would like is to have an unique way to handle the locale detection. Since it has been moved from the session to the request i don't see a clear way to achieve that.
step a) user is not logged, maybe 1st time we saw it. Take the locale from the request header Accept-Language:en-US,en;q=0.8,fr;q=0.6 (for instance). Serve the user a localized version of login page
step b) user is now loggued in. of course we still serve him is prefered language based on the same header
So far i have done this using ResponseListner but it seems it won't work for the 1st request and have troubles with the FOSuser login page.
Any help with samples would be very appreciated.
LuneticsLocaleBundle is great for that: https://github.com/lunetics/LocaleBundle
It allows you to create a custom Locale Guesser:
https://github.com/lunetics/LocaleBundle/blob/master/Resources/doc/guesser.md

Complex business logic in WordPress [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
The question: from a programming point of view, does WordPress allow a similar kind of flexibility that I would get by writing my own Java EE system? E.g. if the site owners suddenly decided that users whose birthday was on a Wednesday had to be sent a notification email and their birthday event had to be entered into a calendar that other members of the site could then RSVP to and then give a star rating afterwards to say how much they enjoyed it... could I do that easily with WP?
Hope that's clear, really welcome any feedback.
Wordpress is a bit easier to get started out with, and you can install whatever plugins you want easily. The only problem with it, is that it is a lot like windows: it accounts for many people's use cases.
For you, with a business/corporate (you mentioned corperate applications before the edit of your question)/extensible platform in mind, I would recommend sticking with what you've got. You've written it yourself (or as a team) so you know everything about it, and what to look for when there is a bug. It's easily extended with your own code, and you don't have to sort through and learn a new language.
Wordpress is great for blogs, as that is what it is designed for. It is good for general purpose websites with dynamic layouts, but relatively static content (blog posts, write it once, edit a few times, but relatively static). Sure, you could write plugins for it, and many have been written, But it won't have nearly the capabilities you seem to require without major extensions.
Also, being written in PHP, it has to be interpreted, as opposed to java, which is a semi-compiled/optimized bytecode (a bit complex) but java runs faster than the equivalent PHP code.
So benefits of your system:
Faster
More reliable
Suited for very dynamic content
Benefits of wordpress:
Easier to extend
Suited for static content
Easier for novices to use (but your own interface may work just fine)
WordPress is incredibly flexible, and can, without a doubt, be a viable framework for your app. You should definitely check out it.
That said, if you're building something this complicated, I'd go with what you know. You're gonna make mistakes and do things in weird ways on your first few WP projects.

Flex ... Need to make Cool website [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I need to make a fantastic website for my company. It is my project. I know a bit of flex and AS, but not in depth.
Can anyone tell me how to make cool websites with dynamic features (using flex and AS) so that everyone will like it. What are diff books and resources that I have to go through ?
Do I need to use any other technology in integration with Flex and AS ? What are the books & learning resources for the same ?
Do i need to use flash with flex ? If yes, how should i approach with it ?
Please guide me ... Thanks in advance :)
I can't really tell you how to make it cool, because that's extremely subjective. It also depends entirely on what you're building (e-commerce site, game, etc).
2) Knowing a bit of HTML always helps. However, Flash and Flash Builder can generate the necessary HTML for you. If you're going to need a serverside component, you'll need to know a serverside language like Python, PHP, Ruby, etc. This comes in handy for having users save configurations across sessions, storing data, connecting to other web services, authetication, etc. You may also have to familiarize yourself with a database like MySQL to store data. However, none of this is necessarily essential. You can make a fun game without knowing any of this.
3) Flex is a UI framework for Flash. You can't have Flex without Flash.
Good luck!

Resources