Better way to a front-end and back-end developing [closed] - backbone.js

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm starting a project and I'm not sure about what technology to use on the back-end and front-end sides. The project needs to generate charts and a lot of statistics so I have been surfing on the site and I think that the best way to front-end is Backbone.js or Ember.js, is it?
On the other hand I've to decide the server part. I'm an old school developer...Php. I need to develope an API that reads de ddbb and provide the information to the front-end side. I don't know what is the best way to develope a system that let final user to choose a date interval to view their statistics (like Google Analytics, Square, etc.). Maybe Ruby? Symfony as well?
Thx! =)

I was in your same situation months ago and I decided to go for Backbone. The main reason is that it's more used and so it's easier to get help and find good tutorials, plus it's not much opinionated so I think you can learn more while develping and also you can shape your app to fit better your needs. Anyway I didn't tried in deep Ember or Angular so take my opinion with care. For the server side part I've always worked with PHP too, I tried Ruby and I think it's a better support for a webapp but I ended use PHP anyway cause of my company's needs. You can do a good job with PHP too, but I suggest to use frameworks like Silex, Slim or Laravel that are better suited to put up a REST api which you will need if you want to use Backbone.

Related

WPF Relevancy vs HTML [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
At work we have an application that we need to update. It is a fat client that is largely written in Windows Forms with newer parts of it being in WPF. The main section of this application is a form designer that is implemented with a Web Browser control using HTML.
We need to redesign a large portion of the application and need to generally improve the user experience. There's a good chance that I will be the one working on this project and I am very familiar with WPF and feel like it would be a very suitable technology to use. I would plan to remove the old windows forms portions and largely rewrite the application.
However, there has been some discussion of migrating this application to be a web application in a future release. My coworker was tossing around the idea of trying to redesign the dialogs and application using HTML while still being a fat client.
Does this seem like a reasonable idea? Is there any kind of design similar to this approach that would support this kind of hybrid application? Would we be able to realistically create the same kind of user experience using HTML5 / JS that WPF would offer?
The idea of making portable code is enticing, but I have serious concerns about the feasibility of this suggestion. I know that windows 8 apps support a variety of design options, but this application would be targeted for xp / windows 7.
This really depends on the application audience but I'd say go with Web if it's easy enough and it should be since you're starting from scratch.
I was faced with the same question 3 years ago and I still regret sticking to WPF because the app could have been deployed on tablets if it was a web app.
If your app contains abundant business logic make sure you split that out well, business logic in JS doesn't work well - crappy to debug, difficult to manage over the entire life of the app. Generally expect more difficult development when compared do WPF but with much larger potential audience.

Yii for mobile browser [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I intend to rebuild my existing web site using the Yii framework. I want it to be mobile-friendly, so I've decided to start right off with a generic small-screen size (mobile safari, perhaps?)
I thought I would find a ready-to-go option in Yii, ideally something like Uncomment this line in the layout page for small-size display. Not there, nothing concrete in the documentation, and nothing at the blueprint css site.
I hit Google for mobile yii, 'responsive web' yii and so on, thinking Okay, I might have to patch in someone's css solution -- not a great way to start my Yii learning, but maybe doable. All I found were tips and approaches, and they tended to assume I had experience building for mobile browsers.
(Which I don't. So far the most important thing I've learned during this search is that CSS alone doesn't make it happen; apparently jquery mobile is the tool of choice. I mention this only so you'll know the state of my understanding.)
I'm all for "wet paint technology" and not having everything handed to me, but I imagined Yii would have a response for the mobile-app challenge. What am I missing? (Maybe some choice keywords, since my research produces so little?) How do you suggest I move forward?
Try with Bootstrap framework. Create a new theme in yii and put all the boostrap files in that theme .. your yii application will start working in responsive design mode. You can also use the bootstrap extension for yii

where can I find a neo4j quick tutorial? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I was trying to save directed graphs into databases for further processing and query. And neo4j seems to fit my needs. However, I don't seem to find a good tutorial regarding the following:
Creating the database and put data in.
Making queries.
I want to be able to do them both manually and automatically (i.e. using a program). The official manual keeps talking about stuff like Maven, Index, REST API and so on, basically things I don't care about at all for now.
So any good hands-on tutorial on neo4j? Or any other graph databases you think is good for total beginners with simple needs (i.e. store graph and query graph)?
For getting started just download the Neo4j Server and start it. Then go to http://localhost:7474 for the integrated web-admin UI which allows you to enter data visually and browser/visualize and query it.
Please have a look at the Neo4j Koans by Jim Webber and Ian Robinson which are material that are used in real-world tutorials. Otherwise also have a look on http://video.neo4j.org for some screencasts and presentations and the collection of introduction links at the neo4j delicious site.
I started a blog for Neo4j beginners. The first four posts are up and they show you how to get neo4j, install it, create some sample data, find friends of friends, six degrees of separation (path finding), use gremlin scripts and cypher queries.
Try http://docs.neo4j.org/chunked/snapshot/tutorials-java-embedded.html or http://docs.neo4j.org/chunked/snapshot/ for more tutorials. Does that work?

Tools to measure performance in ASP.net or C# [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Can you please guide me to a book, tool or article that would guide me on how to make an asp.net MVC 2 application that uses WCF to perform better?
I am interested in lower database query time.
How to render pages more quickly.
How to write controllers and action and what are the best practices in order to obtain an efficient application.
I use Asp.Net MVC 2 , NHibernate / Entity Framework, WCF 4.0 and JQuery.
Thanks
It may not be the answer you are looking for. I dont think there is a magic tool that will tell you all the problems in all the framework you are using.
I am interested in lower database query time.
For this, you have to use Sql profiler and go through each procedure/query then optimize.
How to render pages more quickly.
Try YSlow from Yahoo. I cant remember tool name from Google. I will add it latter
Check out Hanselmans podcast with Steve Sodders. Creator of YSlow on Web Site Optimization. They talk about various tools on performance tuning.
Sam Saffron works at Stack Overflow and writes numerous articles on performance tuning. This one may be useful for you. Profiling your website like a true Ninja
That's all said, logging is going to be your friend. With good logging, you have more freedom to focus on specific code/component or with AOP tools you can instrument entire app with little code.
I would also add the very easy to use MVC-Mini-profiler. It works with MVC and EF.

Is there a good tutorial for figuring out what a website is doing so your program can do the same thing? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there a good guide or tutorial for people who need to programmatically interact with dynamic websites? There's been a rash of Perl questions about that lately, and I haven't found a good resource to point people toward. I'm asking not because I need one but because I don't want to waste my time writing it if it already exists. Although I'm most interested in Perl, the extra tools and techniques are mostly the same.
Typically, I see see these problems in people's questions:
Handling, setting, and saving cookies
Finding and interacting with forms
Handling JavaScript inside your user-agent
especially things like onLoad, onSumbit, and Ajax
Using HTTP sniffer tools
Using Web developer plugins in interactive browsers
Interacting with DOM, screen scraping, etc.
If there's no good tutorial, I'll add it to my list of things to do (unless someone else wants to do it). Along the way, if you don't have a suggestion for an existing tutorial, please suggest the things that you think should be in a new one, including links, your favorite tools, and your own user-agent development experiences. I don't care about the particular language you use.
The best I've seen is a Defcon presentation video.
Look at perl library of libraries. Some html parsing libraries should be made for talking to dynamic websites.
Like:
http://metacpan.org/pod/HTML::DOM
But do you want to use web-browser enhanced by perl. Or perl stand alone app?

Resources