editor for web development - python, html and javascript on ubuntu - editor

I use gedit in Ubuntu (dual monitor) for web development in python,html,js.
its working good and fast enough, but with lots of file open, and file switching and saving reduces productivity. so I am looking for alternative.
I am not looking for heavy eclipse for my slow dual core machine. so, what other option do I have ? I am ok with gui or non gui. my feature requirement is , line numbers, code highlight for python,html,js. auto/smart indenting, fast , auto saving, and good for more than 20 file open and switching. i am not worrying about learning curve.
thanks.

If you're serious about not being worried about the learning curve... than I would recommend trying Vim or GVim. Once you get used to it it'll save you loads of time.
It has all the features you want either build-in or easily scriptable since it can be completely modified to your wishes.
The autosave for example: http://vim.wikia.com/wiki/Auto-save_current_buffer_periodically

Its like cutting a rose with a garden scissor. :p
NetBeans supports all these .

Netbeans? I've recently been blown away by it. Maybe it is too eclipse like still.

Geany is a good lite IDE to investigate.
Otherwise, I recommend spending some time to configure vim.

Related

Developing Ruby and Rails in Windows? Or Linux VM

I've been doing front end web work for a while. I maintain several company websites and etc, mostly on Joomla. I'm getting bored with it and I really want to expand in to development. I have a few web app ideas for the company and some personal stuff I'd like to do.
Ive decided I want to learn Ruby and Rails and have been pursuing it for about a month now. I read a lot of tutorials and work through stuff I find online. I'm also diving in to git and trying to use it more.
I feel like Windows is not going to be conducive to me getting efficient at this. I know that you can, and some do, develop in Windows but I'm wondering if its time for me to move past it.
I picked Ruby to be my first real programming language because of the simplicity I read about. For both Ruby and RoR and I want to be able to learn a language that will let me build apps and web apps that are cross platform.
On to the problem, I can't immerse myself completely in a linux world. I have to have photoshop and indesign for part of my job. So I'm thinking maybe I should just do a live usb key install and take it back and forth between work and home. Is that a better solution than dual booting for what I want to do? I also realize that a mac would give me the best of both worlds, but I am budget constrained and I can't make that leap yet.
Also, is there a good place to hang out to learn more? I have paid codeschool and tutsplus accounts. Should I be back on IRC? What do you think? I'm looking for guidance more than anything I guess. I feel kind of lost on where to go how to not waste time and start developing real skills. Thanks.
You should also checkout the vagrant project which creates headless (non-gui) VMs and makes it easier to work with your files, etc in Windows while the code actually gets run on the Vagrant VM. Also, since its headless, the graphical UI isn't eating up resources and has less impact on your host machine.
Check out these resources:
http://www.vagrantup.com/
http://blog.dcxn.com/2013/07/12/introduction-to-vagrant-for-rails-developers/
http://railscasts.com/episodes/292-virtual-machines-with-vagrant
*Also if you're learning Rails, you MUST checkout Railscasts http://railscasts.com/
The last thing I knew about this is that:
In Linux you can use RVM which handles pretty well everything about your Ruby environment. In Windows I tried pik, but it does not have support to install newer Rubies.
Also, Linux console is much friendlier than Windows one, regarding appearance and functionality. I have explored console2 for Windows, but it did not feel so comfortable that time.
In Linux you have plugins like oh-my-zsh which allows you to speed up your development. But maybe there are kind of this plugin for Windows.
Other than those, I don't know why you should choose Linux VM.
I've developed a Rails app under Windows, and it turned out to be a huge mistake. Near the end of the development, I had to make my webapp multithreaded. The default Rails server does not allow multithreading, and all the alternative servers are either Linux-only, or I couldn't get them to work.
I also considered using JRuby(because Java threads), but by then my app was too big to convert to JRuby(there are some syntax differences that I couldn't track, and I relayed on some gems that don't work on JRuby). However, if you go for JRuby from the beginning, you might be able to pull it off.

GUI designer for html/css that works well with Ruby on Rails?

If such an application exists on Java, even better.
One of the most popular is Netbeans - free, good IDE, and available on many platforms. Also very tied into the Java platform... so you might kill two birds with one stone.
http://netbeans.org/features/ruby/index.html
EDIT:
I played around with JetBrain's RubyMine - it's pretty awesome.
http://www.jetbrains.com/ruby/index.html
There's always Vim or Notepad++ though as well if you are a purist and love the retro-no-bs-only-me-and-my-editor thing.
That answer your question well enough?

Scala + Lift or Ruby on Rails, for a beginner

thanks for opening my question :)
I am a university student in Computer Engineering, and I've always done class projects in Java (apart from C, and Assembly, but for very specific things). Apart from that, I have worked for quite a lot of time on a web app done in ActionScript 3, contained in .jsp files and deployed onto a Google App Engine site.
Having that said, I now pretend to do a prototype of another web app, which will have registered users with blogs and a messaging system between them.
My question is, having time as a restraint (I have month and a half), and needing just to build a working prototype, could anyone tell me, in his/her opinion, what would be the best framework for me to start learning and use? (Take into account my Java & ActionScript background) I believe RoR is the most common in these cases, as its easy and quick, but I have no Ruby knowledge at all, and maybe it would be quicker for me to learn Scala (which coming fromJava shouldn't be that different) and Lift, and do it with them instead.
Many thanks in advance!
Pepillo
Last year I found myself in a very similar situation for creating a web based relationship browser for a computing science class. I would highly recommend RoR. Granted you will need to spend some time getting up to speed with Ruby, but it is well worth the small amount of time to learn. There is excellent documentation available and a ton of good tutorials.
Rails can generate much of the core code and database schema with the generator functions in seconds (see scaffolding generators). Considering your time constraint, I think this alone makes rails a good choice.
In terms of learning Ruby, you should not have much trouble with this if you are comfortable with any dynamically typed scripting languages.
Anyway, that has been my experience with rails. Good luck on your project!
I think I'm going with Play! Not only is the easiest for me, as I am a Java guy, but it's also the quickest when in conjuntion with Japid, according to a benchmark I saw.
I used Java for about 7 years now, mostly for web applications, and recently started using RoR. I must say it was really easy to pick up and get started. After only 2 months of working on my own project I started using it for a customer projects and it was far more easier to deliver production code then I had anticipated. So yes I can recommend Ruby and it was not hard at all to pick up.
However, RoR does require a nix platform like apple os or linux. I stated out with windows but there are simply too many drawbacks and bugs.
If you decide to go with ruby I can higly recommend Agile Web Development with Rails (Pragmatic Programmers) to get you started.

I'm using TextMate at the moment, any reason for moving to Coda or MacVim?

I'm using TextMate at the moment as editor and it seems to be good for many tasks. Coda and MacVim are quite popular as well, so I was just wondering if there are any reasons/advantages to use those Editors instead of TextMate.
Other solutions are accepted as well.
I moved from TextMate to MacVim. My -- entirely personal and subjective -- reason for switching was the breadth of available documentation, plugins, hacks, tutorials, etc. for Vim. It made it easier for me to research ways to quickly perform common tasks.
Another turning point for me was the realization that the entire TextMate project hinges upon how much or little attention it gets from its author. Case in point: a while back an update was released that broke a feature I use quite often. The problem was rectified within a couple of weeks, but I didn't like the feeling that my hands were tied while I waited for the developer to fix it.
Also, once I grokked Vim's motion commands, I didn't really want to use anything else for writing text.
Absolutely no advantage, pure personal preference, I've just started using Coda, having moved from using Smultron. Coda is great for web dev/design (not really done much software programming, just PHP, jQuery etc)
I haven't used TextMate, but I abhor Coda for anything but simple HTML or CSS. It's shocking for anything with actual programming (jump to function definition? Code folding? What's that?)
Not to start another editor flame war, but why not Emacs? I use textMate sometimes still, but Emacs runs across all platforms. I use it for R with ESS, Python, and LaTeX.
edit- i should add I'am unfamiliar with Coda. Whatever works best for you!
I've been a long user of Coda, simply because when I was getting started with web development, Coda was immensely popular and repeatedly mentioned. I've never looked elsewhere because Coda hit the right balance between functionality and ease of use/unclutteredness. However, recently, Coda's lack of decent support for HAML and my inability to add that support by writing a plugin forced me to look elsewhere. While I'm yet to try out TextMate, for pure web development, not just a text editor, I would recommend Espresso. It's got a much better editor than Coda, even including Karpie's beloved code folding.

Has anyone used ComponentOne XAPOptimizer for a real production Silverlight Application?

In particular any experiences using it for obfuscation? How does this affect binding, etc.?
It doesn't affect bindings. You might need to use the pro version if you use reflection (directly or indirectly), but it really works.
Also, make sure you download the desktop version of silverlight optimization to use instead of the online version. It is much more powerful and is what you want to try for production apps. It is free for 60 days then time bombs. If it works well for you, it is definitely worth the money. It will save a lot of bandwidth for you and your end users.

Resources