Jump to content

jPak

Member
  • Posts

    18
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Profile Information

  • Member title
    Junior Member
  1. Hey everyone, So I've only just begun to play around with AJAX and I'm hoping my understanding is too restrictive and that my assertion is incorrect: Suppose you have a utilities PHP file that performs general server-side operations and that you want to call each independent function via AJAX. The problem I'm having is it doesn't seem like you can pick and choose what functions you want to call. Rather, you call the entire page and that page returns some value after running its operations. That said, it seems really silly to have a hundred PHP files with very tiny snippets instead of calling from one file with a hundred functions. So supposing you have the file derp.php and want to call function addStuff($arrayOfThings), how would you carry this out? (I've seen some hacks around this like passing in the name of the function as part of the parameters list but, again, that seems very silly) I appreciate any help you can provide.
  2. I really appreciate everyone's responses! Thanks for your feedback!
  3. I saw Mono briefly, I'm going to check that out soon. And I think I installed JSDT while posting this. Hope it's got some awesome tools! I'll have to look into Aptana. Yeah yeah, C# on a Mac wtf lol. It just happens to be the only portable computer I have right now. The higher ups are trying to get me a laptop to dev on but things aren't going very smoothly. I hope we have better luck tomorrow. So I was mistaken about our backend. At the time of the first post, I had almost no information about our system. Now I understand that we're using the NetSuite CMS which is actually in Java but utilizes JavaScript to handle adding more functionality. I use XAMPP for all my small-scale web work but I thought there might be some IDE or application that were better suited for larger-scale applications. This is a moot point now that I know that there's an Eclipse variant for NetSuite. I'll try this later on but I don't have high hopes. Emulation/VMs on a Macbook make for great campfire starters.
  4. Hey guys, Some background: I do a lot of Java and C/C++ development and do it with the Eclipse IDE. I just got a job doing a bit of backend JavaScript development. Now I'm okay with doing PHP and JavaScript coding and testing using a browser and simple text editor (I use Sublime Text for basic editing) but given that the backend system is much larger than a few files, I suspect this solution may not be viable. I'm hoping someone here may be able to provide a better solution or convince me that the way I'm proceeding is perfectly fine. Bonus points if the solution works on OS X. Also, I may have to look forward to doing .net/C# development. I'm currently working on a Mac, thereby making development difficult. I was wondering if there was a solution for getting this up and running on my machine. I gave Emonic on Eclipse a shot but it was last updated in 2010, didn't install, and probably isn't supported anymore. I could just as easily purchase a Windows laptop for development but that's quite a chunk of change that I'm going to do my best to avoid spending. One last note: booting into Windows on a Macbook Pro is a terrible experience and is one that I can't recommend. Just in case someone may have suggested this solution. Thanks a lot!
  5. And I wish I could help you with your NetBeans FTP issues =(
  6. Alternatively, you can try Eclipse. It's a very high-powered system with, again, extensions for almost everything you can think of. Personally, I find it to be just a bit too much power for my workload but it's a lot closer to NetBeans.
  7. I use XAMPP and SublimeText for my PHP work. XAMPP is pretty straightforward but SublimeText (unlimited free trial) is way more powerful than at first glance. It has code completion, extensions, highlighting, and ALL OF THIS is editable in its respective config folder. Then again my PHP work is very small scale and I'm not sure what other tools you might need but definitely check this out. I actually use SublimeText for damn near everything (my professors didn't appreciate receiving papers in .txt format).
  8. I hear ya. Mobile OSes, applications, and interfaces are designed to be a little more streamlined and not as interaction heavy so they appear to be less powerful but that's the UX that most designers go for with their implementations. So I'm about to dive into my first job on Monday. I guess I'll see first hand if I can carry out compile-time battles in the office!
  9. This comic was about 6 years old so you may be on to something there. I never really thought about it this way. That's definitely another way to look at it. Thanks! That or the Linux kernel are about as large a project I'd be comfortable compiling independently. Maybe I'll try it out on my ancient CPU and see how many days it takes :D I really appreciate the input from everyone and your projects were really cool and interesting to read. Please keep them coming!
  10. Regarding this comic Given that I've only had academic programming experience, all my programs were relatively small and compiled in seconds. I'm wondering just what circumstances to require enough time for the developers to carry out a sword fight. The reason I ask is I just graduated university and I generally recompiled and tested after every new line in an effort to keep track of progress. If compilation time becomes an issue, then perhaps my methodologies must adapt. Bonus question: explain some of your larger projects or any projects you're particularly proud of developing! The bigger projects I worked on include a BitTorrent client and a Photo Library application which introduced us to MVC. The latter was eventually ported to Android -- which ended up being a disaster.
  11. Hey BCreation, I would place the street value of the G15 at between 15USD and 20USD for the following reasons: 1. This keyboard is somewhere between 5 and 7 years old. Given that it uses membrane key switches, much of its life has been used since original purchase. 2. The keyboard is in okay shape. You mention that the backlight is dimming and that the keyboard is a bit dirty. While you may not be able to do much for the backlight, if you really want to sell it, take the car dealer's approach and give it a good bath (NOT IN ACETONE). This will help for point 4. 3. This keyboard is designed for gamers but most modern gamers are becoming more aware of mechanical keyboards. If someone wanted a Logitech gaming keyboard, the first one he might look at is the G710+. That being said, membrane keyboards are becoming increasingly difficult to sell. 4. I looked at a bunch of ebay prices and supposing you're selling it online and shipping it and you are among the more honest of vendors, you're looking at a sale with an upper bound of $20. I know the keyboard was around $100 when you first purchased it so you'll be taking a bit of a hit. This is assuming it sells. Based on viewing and bidding history on current G15s, I can't be certain it will. I actually came into this exact same problem about a month ago. For a long time, I used it as a backup keyboard but as that became less of an issue, I decided to get rid of it. $20 wasn't really worth the time and hassle involved so I gave it to one of my less fortunate friends. Good luck and I hope this helps.
  12. I agree that Cherry feel mushy but in my house, that's a much better alternative to having my brother smack me in my face with my Ducky. For a similar reason, I just ordered o-rings from WASD to help make the noise a little more bearable. I used to have a BlackWidow with blue switches and what seemed to be Costar stabilizers. The enter, backspace, and spacebar keys were regularly regarded as "skull-crushingly loud".
  13. Alpenwasser, I really appreciate your honesty. In fact, that's precisely what I've been using the OO nature of PHP for before posting my original question. Spartan, this isn't to say your answer wasn't helpful (in fact, it cleared up many misconceptions I held previously) but it's a matter of understanding the material in order to put it to good use. As of right now, my best understanding is that of using the OO-ness for structured coding. Thanks guys
  14. Thanks Spartan, Your example extending the chess program was very helpful. I imagine it's my reluctance to learn AJAX that's really hindering my understanding of using objects in PHP. I should really get on that. Thanks for your time and input! As for your last note regarding MySQLi, I didn't know the basic mysql functions were deprecated or shouldn't be used. But as luck would have it, I learned using MySQLi calls to begin with. Yay!
×