Showing posts with label frameworks. Show all posts
Showing posts with label frameworks. Show all posts

Sunday, June 3, 2012

What is the PastryKit Framework?


I'm trying to find any information I can on the PastryKit Javascript Framework. It appears to be in use on the iPhone User Guide that is displayed on the iPhone itself in Mobile Safari, but I cannot find any documentation or API. If you want to see it in action, open Safari 4, set your user agent to iPhone 3 (In the Develop menu) and check out the guide .

Wednesday, May 16, 2012

Where to put javascript and how to handle events


For a long time I am looking for a practical (reusable, clear, updateable,...) solution to the following:

Php framework : symfony 1, symfony 2 or Yii


We are going to switch from an homemade framework to Symfony or Yii. The capabilities of these two framework are, from our point of view, similar (ie they both have what we need).

Tuesday, May 15, 2012

Php framework : symfony 1, symfony 2 or Yii


We are going to switch from an homemade framework to Symfony or Yii. The capabilities of these two framework are, from our point of view, similar (ie they both have what we need).

What are the alternatives to MVC architecture for web development?


I have searched around for alternatives just to see what is available, but I can hardly find anything.

Friday, May 4, 2012

Where am I wrong about my project and these Javascript Frameworks?


First off, the barest bones of the project I wish to create is a wiki engine implemented as a single page web app. I plan on having a set of features available from the get-go with plenty of feature additions down the road.

CodeIgniter PHP Framework - Need to get query string


I'm creating an e-commerce site using CodeIgniter .



How should I get the query string?

Thursday, April 19, 2012

Are most PHP frameworks actually MVA instead of MVC?


Many PHP frameworks claim that they implement MVC design pattern. However, in their implementation, the model and view don't know each other and each communication in between must be done through controller. As I read in wikipedia, this is MVA (Model View Adapter) instead of MVC design pattern approach because in MVC, model and view communicates directly.

Tuesday, April 10, 2012

mac os x 10.6.6 and "adb devices” fails to list android devices


" ADB devices" was working fine last year, but after upgrades and new software installs, adb devices is no longer recognizes any usb attached android devices. I wonder whether you can suggest how to fix this problem. Thanks,

Sunday, April 8, 2012

Javascript: How to make sense of all the frameworks and design philosophies?



I have been a user of jQuery (and some of its minor plugins) for a while. The Javascript code I've developed over the years could be described best as... messy. It used a ton of global variables and functions here and there, didn't use standard ways of organizing the code, nor any design patterns whatsoever.





I am currently building the new version of a website, and I have completed doing the backend with PEAR::MDB2 and Smarty templates. The rest is just homebrew PHP with some classes.





Now I am at the point where I'll add the Javascript layer on top of the website to improve the user-friendliness of some features. (while making sure everything degrades gracefully) I want to write better, cleaner, more organized Javascript than I used to, so I did a little research. I read Stefanov's Object-Oriented Javascript to have a better grasp on some concepts I knew only loosely about (prototypes, constructors, etc.) as well. Now I'm stuck at a point where I wonder which Javascript frameworks I should use, and how to organize it all.





After conducting my research, I understood Cappuccino & Objective-J , and Sproutcore were not what I was looking for. To quote Cappucino's about page:







Cappuccino is not designed for building web sites, or making existing sites more "dynamic". We think these goals are too far removed from those of application development to be served well by a single framework. Projects like Prototype and jQuery are excellent at those tasks







So there's that. Then I found out about Coffee Script , which is more of a one-to-one "compiler" and wouldn't help me with the actual organization of my code.





I also stumbled on some articles that give guidelines:







I also found out about Backbone.js , Shoestring , JavaScriptMVC , Google Loader , jQuery Tools , jQuery UI . I don't really know what to do of all this... The things I know:





  • I don't want to invest too much time in learning something too complex, I want to keep things simple and flexible as much as possible (that is why I don't use Symfony on the backend, for example), yet clean and organized.



  • I want to use jQuery, the question is, what should I use with it? (that is compatible too)







Right now, I'd use jQuery and jQuery Tools and "organize" all that in a simple namespace/object literal with simple properties and methods and also, since the site is localized, I just plan on using the simple vsprintf (as I do on the backend) with key:value pairs loaded from an object literal provided by the backend. JavaScriptMVC seems interesting, but I fear it would bring way too much complexity for a project that is fairly small sized. That is where I need your advice! Thank you very much in advance.



Source: Tips4all

Friday, April 6, 2012

What should i choose? jquery, mootools, yui, scriptaculous or prototype?


Duplicate: Which Javascript framework (jQuery vs Dojo vs … )?



I am totally new to javascript, but i want to implement ajax features into my website. Which JS framework should i learn? Please recommend or which one you are using and why you use it?

When is a PHP project too small for a framework?


I'm about to start on a small, static website project: no database or CMS required. Basically, a brochure website.

A CMS on 2 DIFFERENT frameworks?


I'm not sure if this is possible, but let's say you want to build a CMS, but you're torn between 2 frameworks because each has some features that you like. Is it possible to create the CMS with both framewoks? Does this approach have merits or pitfalls?

Wednesday, March 7, 2012

What should every PHP programmer know?


I would like to be a PHP/MySQL programmer

Recommended framework for Java Web Services


With an abundance of frameworks and stacks for Java Web Services (Axis2, Spring WS, CFX, Metro, ...), which one should be selected for new projects? What are the pros and cons for each one? How well have they worked for you?