|
Does anyone have any suggestions on organizing large projects and coming up with trackable and achievable goals to prevent being overwhelmed? I feel like I'm getting no where on this thing because I spend too much time researching ways to do things instead of just doing them due to a lack of organization and structure. Any tips would be appreciated.
|
# ¿ Dec 9, 2013 18:13 |
|
|
# ¿ May 4, 2024 08:03 |
|
A MIRACLE posted:What project management tool are you using? I'm not a die hard agile fanboy but it can be helpful to organize your project into epics, features, sprints, bugfixes, release schedules etc. Look into kanban too if you like writing stuff on post it notes Right now all I have is Todoist set up to try to somewhat organize my ideas/goals to track against, but I'm not all that impressed with it.
|
# ¿ Dec 9, 2013 19:27 |
|
Hopefully this is the right place to ask AngularJS + PhoneGap questions. I created a pretty basic app locally that works perfectly in the browser. When I go to emulate it though my routes all stop working. I get file:///(route-name) Page load failed with error: The requested URL was not found on this server. So I get that it's most likely a cross origin request issue, but I don't know how to get around it yet. I have approximately 20 some-odd routes and 20 directives that all use templateUrl files to load my page data. I'm stuck on what to do to get this working.
|
# ¿ Jan 30, 2014 04:46 |
|
Well, this was a totally offline app, so my first thought was that the files would just work similar to how they do locally (but I guess that's with a web-server). I could technically re-do the thing so that it's not doing any templateUrl requests, but it seemed like it should just work anyway. I'll look at the HTML5 caching though, see if that works for me.
|
# ¿ Jan 30, 2014 05:36 |
|
Maluco Marinero posted:The Templateurl calls are fine if you serve from an endpoint rather than try to run it as a local file. Just use the cache manifest to specify that the browser will persist all the relevant resources, including the template URL files. Is it not possible to download these files as part of the app package so that it doesn't have to access the internet at all? A pre-populated cache of sorts?
|
# ¿ Jan 30, 2014 16:08 |
|
Maluco Marinero posted:I'm unsure, this is where I leave off as I haven't got much experience with Phonegap itself. A preloaded appcache would be great if it's possible, otherwise a way for a phonegap to act as a local 'server' so were not trying to do direct file access which clamps down hard on browser permissions. Well the idea was that the app itself could be used offline and downloaded/installed in one go from either the iTunes or Google Play store. I didn't want to learn native code in 2 languages to code what was a pretty simple app so I thought HTML/JS would be a good alternative with PhoneGap covering the device specific stuff around my code. I'm thinking that it might just be better to change my template calls to template: '<html goes here>' and prevent the need for most/all of the templateUrl: calls that are causing the issues to begin with.
|
# ¿ Jan 30, 2014 21:42 |
|
So I've wrote an app that I'm going to publish and it works fine and dandy. This is the first time I've really used AngularJS and wrote a non-trivial JS app. I really want to take my work now and learn from my mistakes to improve my efficiency going forward. I feel like a major sticking point is code repetition. Looking at this snippet, what can I do to improve this code? I have a bunch of different calculations and they are all set up exactly like this. It seems like the favorite stuff should be easy to extract but I'm not sure where to start.code:
|
# ¿ Feb 19, 2014 04:53 |
|
[edit] Asking in the Android thread since that seems like the more logical place.
excidium fucked around with this message at 18:13 on Feb 21, 2014 |
# ¿ Feb 21, 2014 07:01 |
|
New AngularJS question relating to services. I'm using the MEAN stack and have the Yeoman angular-fullstack generator installed. I'm trying to add some more functionality to the User Mongoose/AngularJS controllers to retrieve all Users in the DB and return them in an array that I can then use in my views. I created the API call and it's returning data just fine, but I can't seem to hook it up from the Angular side. This is the default code in the scaffolded app: JavaScript code:
To see the angular-fullstack scaffold check out this github: https://github.com/DaftMonk/generator-angular-fullstack excidium fucked around with this message at 19:04 on Mar 11, 2014 |
# ¿ Mar 11, 2014 18:57 |
|
excidium posted:New AngularJS question relating to services. I'm using the MEAN stack and have the Yeoman angular-fullstack generator installed. I'm trying to add some more functionality to the User Mongoose/AngularJS controllers to retrieve all Users in the DB and return them in an array that I can then use in my views. I created the API call and it's returning data just fine, but I can't seem to hook it up from the Angular side. Well, to answer my own question, there is a built in default option for save, query, get and delete when using the $resource functionality. So all I had to do was point my working API backend to be called query and then just use the resource as is. Sweet!
|
# ¿ Mar 12, 2014 00:02 |
|
New weird AngularJS issue that I can't seem to figure out. I'm working with $resource to do all my CRUD operations and did some basic mocks initially to prove out the functionality before implementing real models/controllers. In this proving out routing/controllers I set up a redirect on the update call that was added to the $resource (since there is no default PUT operation for some reason). So here's what that code looks like:JavaScript code:
JavaScript code:
|
# ¿ Mar 18, 2014 15:22 |
|
spacebard posted:Any typos in your app's route definition? That's all I can think of. Can you set a watch statement in web inspector and see why it's not hitting the route? It's weird, it's not even hitting my success callback on the update. It just goes off the tracks somehow. I don't understand why one version works fine and the other doesn't.
|
# ¿ Mar 18, 2014 19:32 |
|
fuf posted:Is the official angular "phonecat" tutorial out of date / broken? Bookmark this page: https://github.com/jmcunningham/AngularJS-Learning If you're using Node you probably want to look at the whole MEAN stack (MongoDB, ExpressJS, Angular, NodeJS). ExpressJS will save you a lot of time setting up your back end. Google MEAN stack tutorials and you should be able to find quite a bit about it with examples.
|
# ¿ Apr 1, 2014 14:29 |
|
fuf posted:(the only issue is that urls look like site.com/#/news instead of site.com/news) They don't have to! https://docs.angularjs.org/guide/$location and HTML5Mode settings. Has anyone had a play with Polymer yet? Any thoughts so far for building any non-trivial apps? excidium fucked around with this message at 02:24 on Jul 1, 2014 |
# ¿ Jul 1, 2014 02:20 |
|
Pollyanna posted:We should put that in the title. If you want a bunch of resources just look at the MEAN stack - MongoDB, ExpressJS, AngularJS, Node. Full MVC framework with REST API creation through Express. Angular is going to have a bunch of resources available for learning.
|
# ¿ Jul 16, 2014 15:09 |
|
I like http://en.wikipedia.org/wiki/Analysis_paralysis
|
# ¿ Jul 16, 2014 20:50 |
|
|
# ¿ May 4, 2024 08:03 |
|
Looking for some ideas and this was the best place to start I think: My company's software is installed on Windows environments and uses IIS. We have a bunch of component software that makes up our suite of tools and unfortunately the installer process is kind of a huge pain in the rear end. While we are waiting for the platform engineering team to straighten things out and make it a lot easier, I am looking for ways to streamline the developer ramp up time. We are currently using Oracle VM VirtualBoxes with a base set-up of the platform and some other tools. The developer then just runs and works directly on that Host machine. Problems: Image size is huge. Downloading for some of the developers that work on this is a pain. Licensing. We don't have Office installed on the Host machine due to licensing so developers are required to switch back and forth, moving files when necessary to work on Office related items. Resources. To reliably run the VM you're going to need 8GB of RAM, most likely more. This is fine for most of our guys in the US, but offshore developers have lesser baseline machines and a longer time for upgrade. Ideally I'd like to see something that runs the VM in the background with a mapped drive to the environment that can be accessed from the Host machine. The Guest should basically just be the smallest Windows image I can get with SQL, IIS and the platform software. This would allow us to hit the associated web server that the Host machine creates to test coding changes before committing them. Any suggestions would be great!
|
# ¿ Oct 27, 2014 18:06 |