Are libraries essential for building apps? [closed] - html

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I recently started learning coding I actually didn’t know where to start after doing some researching I decided learning the javascript language as a first step . After finishing the courses on freecodecamp I didnt know what to do next I heard so many things to the point that I feel like I dont know anything . I would like someone to actually help me understand basics before languages, html css ...
Here are my questions :
Are libraries essential to build a website or create games ?
What ui and ux ? ( I heard that its for webpages designing though I also heard that css is also for web designing )
What’s a framework ?
Does all languages have libraries ?
Can you develop apps without libraries or frame work just using css html and javascript(example)

Are libraries essential to build a website or create games?
Yes. Any code you write will fundamentally become your library.
What ui and ux?
UI is the user interface of any tool that requires input. UX is the user experience of a given interface. For example, an airplane pilot is given an interface to control the aircraft, and the controllers are meaningfully arranged to give the pilot the ability to fly safely. The result of the user experience is determined by the pilot's ability to accomplish a task.
What’s a framework?
A framework is the foundation for deploying multiple functionalities for specific tasks. For example, an airport specifically manages how passengers arrive and depart to a new location by air travel. Similarly, a boating dock specifically manages how passengers travel over water. Here is a list of a few web frameworks out there: Github Frameworks
Do all languages have libraries?
Most languages include built-in libraries. For example, Javascript includes basic math functions.
Can you develop apps without libraries or frame work just using css html and javascript(example)
Yes and no. HTML is a markup language, and CSS is used to style your information. Fundamentally, you can write a static web app with html, hide or reveal information with css, and link out to other pages. If you intend to write an app with functionality that manipulates the HTML or CSS, you will need a programming language such as Javascript.

Are libraries essential to build a website or create games? In a way no, but they will make your life much easier if you use them properly.
What is UI and UX? User Experience and User Interface. The first one (UX) is in charge of researching the user and it's context to plan and design the basic structure and flow of any platform, app, etc... The later (UI), using the UX outcome, manages the final design, the look-n-feel of it, as well as all the interactions.
What’s a framework? A library of a coding lenguage. They are very useful when you are developing, helps cut time if you can settle for somewhat generic functions-styles. Personally, I still customize the looks as some of them they can look a bit too generic
Does all languages have libraries? Most of them, yeah. All web development languages I know do.
Can you develop apps without libraries or frame work just using css html and javascript(example)? Yes, but for these lenguages it sounds like a waste of time not to use them. The basics to start on those 3 would be Bootstrap, jQuery and their

Related

Sitecore, why is so difficult? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am new to sitecore and my company has been using external company to manage their sitecore, which I totally understand, since it involved so much work on the development.
As a designer myself, I found extermely difficult to create a custom page unless I use what's already available. I could use simple page to insert my html codes but again, it's just way too long. In regular case, when you build a html site, you could simply create pages in dreamweaver and view it on your local computer.
I have tried to make a custom page with the presentation control, but each time I called a sub-rendering. the page is just a BLANK.
*so my 1st question will be, What's the procedure to create a custom page? *
I know sitecore suppose to be powerful and there is many api, I really would like to find out why I found it's so difficult......
my background is, designer base with knowledge of html, css, and php. I am not a developer that's for sure. :)
Thanks for taking time read my blah blah..:)
1st question will be, What's the procedure to create a custom page?
To answer your first question, there are some high levels steps you would generally take.
Create a page template that includes any fields or metadata you need to render the page
Create any layouts, sublayouts, or renderings necessary to render the custom page - this is where having access to a developer normally becomes necessary
Assign the renderings and datasources to the instance of your new template (or better yet, assign the renderings to __Standard Values item)
Publish everything out
You should reference the Self-Study to Building a Very Simple Site from Sitecore
2nd question will be, why do we need to call the developer each time when we want to have some feature inputs?
To answer your second question: To get very far with customizing Sitecore you will need to be a developer or have access to one. This can be mitigated to some extent depending on how flexible the solution is they developed. But let's be real - Sitecore is an Enterprise CMS, it's not Wordpress where you can install a theme and a few plugins.
As someone just learning, there are a number of options
Training from Sitecore - this is probably your best bet
Download and play with Launch Sitecore for sample code and examples to build a real website
Check out the Sitecore Marketplace for modules that can get things done for you
Subscribe to and read John West's blog for inside information of basically every aspect of Sitecore
3rd question is, why I can access the CSS?
This question doesn't make sense frankly, so I will assume it was meant to ask "How?" or "Where?" Without any more information about the site in question, you can normally map the URL to the location on disk. For example:
http://www.mysite.com/css/styles.css
This URL might map to c:\inetpub\wwwroot\mysite\website\css\styles.css
I do highly recommend that any code changes, including CSS, be done through your source control system and only be deployed following your standard release management.
Honestly, I don't believe you are qualified to modify and maintain the Sitecore site given your current training and experience level. The first step I recommend is getting that Sitecore developer training and any training available from your vendor on the specific implementation. Good luck!

Anybody knows a good JavaScript UI (Widget) Library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Recently I had to develop several web applications. I did extensive research regarding JavaScript UI Libraries but I haven't been able to find one I was really satisfied with. What I mean with UI libraries is a library which provides user-controls such as buttons, combo boxes, grids, charts, layout, ...
What I found so far and why I didn't like it a 100%
jQuery UI has too few controls. (I know there are a lot of plugins and you can nearly find everything but it is not the same as a complete library made and tested by one team or group)
Dijit (Dojo). I really like this one but when I try to use it in my websites I'm always having troubles. They don't seem to be as easy to use as other libs.
YUI version 2 had a lot of controls, but the "new" version 3 still misses many controls. (or I am just too dumb to find them) I don't want to work with both versions at the same time or use an old version which will be replaced soon.
DHTMLX has many controls and they work really well, but the controls themselves lack many features. (for example the HTMLEditor does not even support to change the text color out of the box or I could not find an easy way to expand/collapse tree nodes with some sort of animation)
If anybody knows of a good library which I have not tried yet or knows how I could use one of the above libraries "better" I would be really happy.
I am wondering why at this point (where web-apps are getting so important) I still can't find a complete UI framework which would provide me with controls which you can find in other environments since years (or even decades) - for example Java, .net or Delphi to name just a few.
edit:
I know there won't be a library with every control I ever need, but what I expect from such a library is at least: consistent skins, api, documentation, validation and the most important controls you'd need in business apps/websites (datepicker, button, editor with support for numerical data, grid/tree, layout controls, HTML editor) AND the possibility to create your own controls. good to have: charts or reporting
Ext JS provides the best GUI widgets by far. I've used it for a large intranet project, and have been completely satisfied. It's available under GPLv3 and a commercial license.
Be extremely careful when evaluating open-source frameworks. They tend to religiously promote the quality of their projects, but I've found that poor documentation and buggy code are pervasive. Dojo claims heavy industry involvement, but their documentation is poor, and it's not hard to find bugs on their website (the dijit example pages have been broken for months at a time...).
Your comment about JQueryUI is very telling.
As you say, JQueryUI does provide relatively few controls, but has a lot of plugins available. But you're looking for a single library with everything you want built-in.
This is a tough ask, because we don't actually know what widgets you really want, which ones you like the sound of but probably wouldn't use, or which ones you'd use but only if they worked exactly the way you want.
It's virtually impossible to predict all the widgets that someone may want, or how they want them to work. And even if a given library does get it exactly right, when your needs change slightly in the wrong direction, suddenly the library you chose could turn out to be a poor choice rather than the right one.
This is why flexibility and maintainability are far more important than getting an exact feature match. Once you go beyond the basic set of widgets, most others are built on top of the simple ones anyway, but everyone has their own ideas about how they should be implemented, and new UI concepts are being thought up every day. This is why the plug-in model works so well, and why I feel you're making a mistake in discounting JQueryUI because most of the widgets are available as plug-in. In fact, I would say that this model is likely to be the best solution for you.
There are a number of other libraries available which you haven't mentioned. Mootools and Prototype are probably the best well known, but there are others too. Rather than list them all, I'll point you to this page on Wikipedia, which lists them all in a comparative table: http://en.wikipedia.org/wiki/Comparison_of_JavaScript_frameworks
I hope you find that helpful. But I suspect you won't find any library in that list that comes with every widget you'd ever want, all in one bundle. They all rely on plug-ins, because the library developers are generally focusing on making a framework for widgets, rather the widgets themselves.
Check out PrimeUI, provides various widgets and built with jQuery UI APIs. Licensed under Apache V2. http://www.primefaces.org/primeui/
Recently Telerik Kendo UI which is built on top of jQuery (no impedence mismatch with other frameworks) has Open sourced (Apache 2.0 License) their Library of Widgets.
I strongly recommend this..
Telerik Kendo UI is not Open Source
Download the Kendo UI - Open Source edition
If you don't mind the licencing you should have a look at http://www.sencha.com/ the ExtJS library.
A demo library available at http://www.sencha.com/products/extjs/examples/
SAPUI5 web controls listing with example source code:

How/When to design an interface? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I'm trying to get in the habit of designing the interfaces to my websites at the very beginning before I do any actual coding. I've read "Getting Real" by 37 signals and they recommend doing the interface first, before any actual code is produced.
What exactly is meant by that? Does that mean use pure HTML and CSS to design the site and add php, js logic to page afterwards, or is it okay to sprinkle in the php, js from the beginning?
What if your using a framework, should I set up empty controllers that simply call the views, or should the early stages be solely html, css?
Also, what do you guys think about design first vs later?
EDIT I'm talking about AFTER I have sketched everything with pen and paper.. I'm taslking solely about the html mockups. And I'm not too sure about using extra tools that I would need to learn to do this
I think that the majority of the benefit of designing the interface first has been achieved after you are done your paper sketches. Basically, you are just ensuring that you have a design in your head and that your coding process is somewhat end-user driven. You are also trying not to waste time on needless documentation.
Getting the HTML in place (or the skeletons of the Views in an MVC app) makes some sense and this is the main thrust of what 37signals says. I would certainly not do anything beyond this that is just going to be thrown away.
I think if you have a proper design, it is immaterial if you next move on to writing the back-end code after the HTML or if you do the CSS and JavaScript. The CSS and the code should not even need to be aware of each other.
Do whatever gets you excited and motivated. Do whatever gets you thinking more deeply about how the app will actually work so you can catch any flaws in your original thinking. I like to code before CSS but that is just me. You might find it important to get the CSS further along before the app takes shape in your head.
Joel Spolsky likes Balsamiq as a mocking tool. I think that 37signals uses Draft (an iPhone app). I use a Sharpie. The key is not getting too detailed though.
Opinions vary, but I believe that JavaScript should come last. I believe most sites should be designed so that they work 100% without JavaScript and then have JavaScript added for polish.
Learn more about Unobtrusive JavaScript
So (for me):
Quick and dirty sketches of views
Get some HTML in place
Maybe some basic CSS for layout (or more if I need to impress somebody early)
Write the core logic
Add support for web services and AJAx calls
Pretty it all up with snazzy CSS
Write some JavaScript to add the sizzle
Let me ask you this. Do you paint a car before or after you have made the working parts? Maybe you have chosen which paint but ultimately it cannot go on until the car is finished. Maybe you don't agree with this analogy but I think coding will bring out issues that cannot be understood before a site is designed. Code first, design second.
Get a pad of paper. Each page represents one page of your site.
Sketch the interface. What controls go on each page? What controls are the same on each page? What forms are there and on which pages? What happens when user clicks on item x? Item y?
This will help you solidify your plan of both the content and behaviour of your site.
If you just start blindly coding you will end up with burnt spaghetti.
The user interface is what the users of the website will see. Before coding you probably start with some very basic sketches of the site that are not code, to identify page navigation, general placement of content and interaction with the site.
But the earlier you can show and discuss a working UI, the easier it is for the users/client to get an idea of the final product. So quickly move to the HTML, CSS, JavaScript and things like images, to identify:
The data presented on the page (HTML)
The representation of the data (CSS)
The interaction with the data (JavaScript)
Doing so helps to gradually develop an actual working UI that you can discuss with the client. This keeps them involved from early in the project. It forces them to think about the site, and make decisions about content, look and interaction.
Getting such feedback early in the project reduces the risk of building a product that needs to be changed later on. And making changes early in the project is easier/cheaper, then later in the project.
While the UI is being developed you can already start looking into data structures, software components and integrations with other systems to drive the site. But that's not what users/clients are interested in, they want to see and use the product.

Difference between web designer, web developer, and web programmer [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I always read "web designer", "web developer", and "web programmer", but don't understand the difference between them.
What is the difference? An example would be appreciated.
The way I always looked at it:
Web Designers make it look good.
Web Developers/Programmers make it work.
In my experience people use the designer label when they are talking about people who do front-end design -- graphics, user interface, etc and programmer/developer when talking about people who do back-end coding and, perhaps, front-end work as well. Other than the wording I don't consider there to be much difference between developer and programmer, though some may argue that a developer takes a role in more than just writing code. I would argue that all developer/programmers do this, but just to a greater or lesser extent.
FWIW -- I call myself a software developer who specialize in web applications. I usually do the whole gamut from UI design to backend implementation and testing.
Web designer: Someone who designs the look and feel of the web pages
Web developer: Someone who writes backing code for pages (ie HTML, CSS, etc)
Web programmer: Someone who uses backend server languages, like ASP, PHP, Ruby, etc, to write the logic for a web application.
I like to use an analogy
Web Designer: Interior Decorator/Designer
Web Developer/Programmer: Carpenter/Electrician/Plumber
(As I always see these as interchangeable roles in web dev)
DannySmurf's definitions are straight forward and can be used as the defacto heuristic, but I would have to say that the term Web Developer can be synonymous with both Web Designer and Web Programmer depending on the context.
Sometimes, the person who creates the visual layout of a site is also capable of handling the HTML and CSS bits. Other times, the person who is developing the HTML and CSS bits is also well versed in JavaScript and handles the Model, View, Controller portions of the website programming (PHP, ASP, Ruby, etc.).
The system logic that may reside behind the scenes would then be coded by other programmers who may refer to themselves as Web Programmers because the end product that they build is an application accessed via the web.
Personally, I drop out the term Web Programmer, and simply use:
Web Designers: persons responsible for the creative invention of the look & feel of the website from a graphical layout perspective.
Web Developers: persons responsible for the execution of pages designed by Web Designers, including the HTML, CSS, JavaScript and server-side components such as PHP, ASP, Ruby, etc.
Web designer is someone who designs Web pages. They, along with the client, choose a colour palette, position things, and make it visually appealing. They are concerned with the usability and design. It's usually all done in Photoshop, at which point they pass it off to the Web developer.
A Web developer creates the Web site - write the HTML, CSS and, if the page has any dynamic content, will develop that as well.
A Web programmer, to my knowledge, is basically the same thing as a Web developer. They are only concerned with the technical aspects of a Web page.
Web Application = Form + Function
Web Developer = Designer + Programmer
However, in real world things are not as straightforward. It goes like this:
Designer = Pretender (I can develop your website)
Programmer = Fixer (I fixed your beautiful but none-functioning website)
Developer = Unemployed! (you should have given me the job in the first place)
Something needs to be done to fix this mess. Long live developer.

Installable CMS similar to CushyCMS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for a CMS system that works similar to CushyCMS, but that I can install on my own server?
I love the functionality and ease of use CushyCMS provides for simple, small sites where setting up and installing a traditional CMS (Drupal, Wordpress, TYPO3) are not necessary.
Anyone have any ideas?
Thanks!
Troy
Perch is an excellent lightweight CMS.
For what you're after I'd reccomend ImpressPages CMS
http://www.impresspages.org/
It doesn't use html tags, but its a very easy "drag and drop" style. with clear toolbars available to the site admin, obviously WYSIWYG editing isn't everyones favourite (it's not mine) but for 5 or so pages, it's perfect.
Orbis CMS is an open source alternative to CMSs like CushyCMS. It's built on the same priciples (simplicity, ease-of-use) and features a stylish interface, but is self-hosted and free.
"modify html pages simply by adding a class but that I can install on one of my own servers"
Unify does this very nicely unify.unitinteractive.com it costs $24.49 per domain, simply upload the unify folder to your webspace and add class="unify" to the areas in the html you want editable.
Another one ideal for a site of 5 pages is pulsePro http://pulsecms.com/
If you're looking to write some of your own code/html it might be worth looking at django-cms
Well, I don't know of any yet, but if you want an alternative online service then check out Surreal CMS. You can also try out Simple CMS, but it's still very new (released into beta a day or two ago).
You should look at Zimplit!
SnippetMaster is pretty cool. It's too bad that it's not open-source and free, but at least it has generous and inexpensive licensing schemes (normal, re-brandable, etc.)
It would be nice if it used class names for the content regions, but it uses HTML comments formatted a special way (like IE conditionals) so it's still valid html.
http://www.snippetmaster.com
I built this one www.kitgui.com so programmers can be programmers in their own language / framework of choice and use a REST-style interface to pull content and HTML 5 javascript reference to be able to let clients manage the editing experience directly on the website pages themselves. HTML 5 allows for the cross-site security to occur these days so everything just made sense to do this. In my ecommerce business its all about how fast you can setup things to get them out the door and get paid. KitGUI makes it so easy you can't really appreciate it unless you try it out. This is brand new so I have no idea if programmers like it or not except for my own devs who are biased of course. I know clients do for sure so please give me some feedback on it if you have time to investigate as I worked my ass off to launch it.
Something which is very similiar to CushyCMS is Unify CMS.
They have a demo which you can try before you buy.
You will see that Unify is very similar to CushyCMS and I quote:
You do not need to know PHP, nor do you need to write your code
specifically for Unify. In order to create editable areas on your
site, you only need to add “unify” classes to each element. That’s it.
There is no Database to setup, you just upload the files via FTP (or similar) and start adding in classes where you want to have editable regions. They have repeatable regions as well.
Unify currently costs 24.49 and is backed by a 45 day money back guarantee.
Support is powered by Desk.com
Take a look at Unify requirements and you will see you can run this in almost any server on the planet; well, almost any server :)